Databento14 open jobs

Software Engineer (C++/Rust)

Systems, C++ and performancePosted over 2 months agofrom Databento's own hiring page

Work type
RemoteIn the US
Experience
5+ years
Pay
$150k–250k a year
Posted
Over 2 months agoOpen 6 months
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on C++, Rust, C and 1 more

About the job

The financial industry is growing at a record pace, but our data providers are still stuck in the past — with cumbersome onboarding processes, complicated APIs, slow infrastructure, and expensive licensing costs.

Databento is the market data platform for modern finance. The company provides real-time and historical data across futures, options, and equities through a unified API. By owning the entire market data stack end-to-end, Databento is the first platform of its kind to combine the performance and reliability demanded by the world's leading trading firms with a dramatically simpler developer experience. Our team includes alumni of Two Sigma, Citadel Securities, Flow Traders, IMC, Tower Research, Jump Trading, HRT, Jane Street, and SIG.

We're looking for a midlevel or senior IC to join our core engineering team. Our team is responsible for all things C/C++ and Rust, and the most performance-sensitive parts of our codebase. You'll be working with nearly 20 PB of data, with thousands of bare metal CPU cores at your disposal.

Responsibilities

  • Design, develop, and maintain high-performance server applications in C/C++ and Rust.
  • Write message parsers and feed handlers for direct market data feeds from trading venues.
  • Optimize existing codebase for high throughput (millions of messages per second, up to 40+ gigabits) and low latency (measured in nanoseconds).
  • Implement tools and libraries for petabyte-scale data processing and analysis.
  • Collaborate with the systems team to implement best practices for build, deployment, CI/CD.
  • Implement monitoring and improve application uptime.
  • Ensure smooth feature rollouts and updates.

Preferred background

  • 5+ years of full-time software engineering experience, preferably at a trading firm, tech company, or high-growth startup.
  • Strong proficiency in C/C++ or Rust.
  • Knowledge of systems programming, algorithms, data structures, multithreading, networked I/O, serialization, CPU architecture, kernel, and compilers.
  • Experience working with multiprocess environments.
  • Comfortable with lldb/gdb.
  • Good communication skills and work ethic for a remote workplace.
  • An interest in low-level optimization and performance engineering.
  • An interest in financial data or algorithmic trading.

We offer health, dental, disability, and life insurance benefits, as well as 401(k) matching for full-time employees. We accommodate 100% remote work, with teammates living around the globe and paid in their local currency.

The base salary range for this role is $150,000–$250,000, benchmarked to Tier 1 locations in each country. Total compensation may also include bonuses, commissions, and equity, depending on the role.

Notice about phishing scams

Be cautious of phishing scams impersonating Databento that offer fake job interviews and request purchases. Official emails come only from @databento.com or us.greenhouse-mail.io (our ATS). Any other domains (e.g., databento-careers.com, databento.online) are fraudulent.

--

Databento, Inc. provides equal employment opportunities to all employees and applicants regardless of race, color, religion, sex, national origin, age, disability, sexual orientation, gender identity or expression, veteran status, or genetics. We comply with federal, state, and local nondiscrimination laws in every location where we operate. This policy applies to all terms and conditions of employment, including recruiting, hiring, promotion, termination, layoff, recall, transfer, leave, compensation, and training. Pursuant to applicable laws, we consider qualified applicants with arrest or conviction records. If you need an accommodation, please let us know.

Our recruiting data suggests that underrepresented applicants often downplay their skills. Even if your experience doesn’t exactly match the qualifications listed, we still want to hear from you. Please apply! 

Interested?Software Engineer (C++/Rust) at Databento

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on C++, Rust, C and 1 more

Interview questions for this job

For the skills the ad mentions: C++, Rust, C and CI/CD.

136 questions
  • What are the basic rules and idioms for operator overloading?C++

    Common Operators to Overload

    Most of the work in overloading operators is boilerplate code. That is little wonder, since operators are merely syntactic sugar. Their actual work could be done by (and often is forwarded to) plain functions. But it is important that you get this boilerplate code right. If you fail, either your operator’s code won’t compile, your users’ code won’t compile, or your users’ code will behave surprisingly.

    Assignment Operator

    There's a lot to be said about assignment. However, most of it has already been said in GMan's famous Copy-And-Swap FAQ, so I'll skip most of it here, only listing the perfect assignment operator for reference:

    X& X::operator=(X rhs)
    {
      swap(rhs);
      return *this;
    }
    

    Stream Insertion and Extraction

    Disclaimer
    For overloading << and >> as bitwise shift operators, skip to the section Binary Arithmetic Operators.

    The bitwise shift operators << and >>, although still used in hardware interfacing for the bit-manipulation functions they inherit from C, have become more prevalent as overloaded stream input and output operators in most applications.

    The stream operators, among the most commonly overloaded operators, are binary infix operators for which the syntax does not specify any restriction on whether they should be members or non-members. However, their left operands are streams from the standard library, and you cannot add member functions to those1, so you need to implement these operators for your own types as non-member functions2. The canonical forms of the two are these:

    std::ostream& operator<<(std::ostream& os, const T& obj)
    {
      // Write obj to stream
      return os;
    }
    std::istream& operator>>(std::istream& is, T& obj)
    {
      // Read obj from stream
      if( /* no valid object of T found in stream */ )
        is.setstate(std::ios::failbit);
      return is;
    }
    

    When implementing operator>>, manually setting the stream’s state is only necessary when the reading itself succeeded, but the result is not what would be expected.

    1 Note that some of the << overloads of the standard library are implemented as member functions, and some as free functions. Only the locale-dependent functions are member functions, such as operator<<(long).

    2 According to the rules of thumb, the insertion/extraction operators should be member functions because they modify the left operand. However, we cannot follow the rules of thumb here.

    Function Call Operator

    The function call operator, used to create function objects, also known as functors, must be defined as a member function, so it always has the implicit this argument of member functions. Other than this, it can be overloaded to take any number of additional arguments, including zero.

    Here's an example of the syntax:

    struct X {
        // Overloaded call operator
        int operator()(const std::string& y) {
            return /* ... */;
        }
    };
    

    Usage:

    X f;
    int a = f("hello");
    

    Throughout the C++ standard library, function objects are always copied. Your own function objects should therefore be cheap to copy. If a function object absolutely needs to use data which is expensive to copy, it is better to store that data elsewhere and have the function object refer to it.

    Comparison Operators

    Read the rest at the sourceFrom Stack Overflow: asked by sbi, answered by sbi (CC BY-SA 4.0)

  • What are the differences between Rust's `String` and `str`?Rust

    String is the dynamic heap string type, like Vec: use it when you need to own or modify your string data.

    str is an immutable1 sequence of UTF-8 bytes of dynamic length somewhere in memory. Since the size is unknown, one can only handle it behind a pointer. This means that str most commonly2 appears as &str: a reference to some UTF-8 data, normally called a "string slice" or just a "slice". A slice is just a view onto some data, and that data can be anywhere, e.g.

    • In static storage: a string literal "foo" is a &'static str. The data is hardcoded into the executable and loaded into memory when the program runs.

    • Inside a heap allocated String: String dereferences to a &str view of the String's data.

    • On the stack: e.g. the following creates a stack-allocated byte array, and then gets a view of that data as a &str:

      use std::str;
      let x: [u8; 3] = [b'a', b'b', b'c'];
      let stack_str: &str = str::from_utf8(&x).unwrap();
      

    In summary, use String if you need owned string data (like passing strings to other threads, or building them at runtime), and use &str if you only need a view of a string.

    This is identical to the relationship between a vector Vec<T> and a slice &[T], and is similar to the relationship between by-value T and by-reference &T for general types.

    1 A str is fixed-length; you cannot write bytes beyond the end, or leave trailing invalid bytes. Since UTF-8 is a variable-width encoding, this effectively forces all strs to be immutable in many cases. In general, mutation requires writing more or fewer bytes than there were before (e.g. replacing an a (1 byte) with an ä (2+ bytes) would require making more room in the str). There are specific methods that can modify a &mut str in place, mostly those that handle only ASCII characters, like make_ascii_uppercase.

    2 Dynamically sized types allow things like Rc<str> for a sequence of reference counted UTF-8 bytes since Rust 1.2. Rust 1.21 allows easily creating these types.

    From Stack Overflow: asked by Daniel Fath, answered by huon (CC BY-SA 4.0)

  • Difference between malloc and calloc?C

    calloc() gives you a zero-initialized buffer, while malloc() leaves the memory uninitialized.

    For large allocations, most calloc implementations under mainstream OSes will get known-zeroed pages from the OS (e.g. via POSIX mmap(MAP_ANONYMOUS) or Windows VirtualAlloc) so it doesn't need to write them in user-space. This is how normal malloc gets more pages from the OS as well; calloc just takes advantage of the OS's guarantee.

    This means calloc memory can still be "clean" and lazily-allocated, and copy-on-write mapped to a system-wide shared physical page of zeros. (Assuming a system with virtual memory.) The effects are visible with performance experiments on Linux, for example.

    Some compilers even can optimize malloc + memset(0) into calloc for you, but it's best to just use calloc in the source if you want zeroed memory. (Or if you were trying to pre-fault it to avoid page faults later, that optimization will defeat your attempt.)

    If you aren't going to ever read memory before writing it, use malloc so it can (potentially) give you dirty memory from its internal free list instead of getting new pages from the OS. (Or instead of zeroing a block of memory on the free list for a small allocation).

    Embedded implementations of calloc may leave it up to calloc itself to zero memory if there's no OS, or it's not a fancy multi-user OS that zeros pages to stop information leaks between processes.

    On embedded Linux, malloc could mmap(MAP_UNINITIALIZED|MAP_ANONYMOUS), which is only enabled for some embedded kernels because it's insecure on a multi-user system.

    From Stack Overflow: asked by user105033, answered by Fred Larson (CC BY-SA 4.0)

  • Why is automated testing important in CI/CD?CI/CD

    Automated testing provides the confidence required to release software frequently. Each test validates a specific aspect of the system, such as business logic, integration between services, or user workflows.

    Tests are executed automatically as part of the pipeline using predefined scripts and configuration files. This ensures consistency, removes manual bottlenecks, and prevents regressions from reaching production. From a business standpoint, it reduces the risk of outages, protects customer trust, and lowers the cost of fixing defects.

    From Tech Vault (Apache 2.0)

  • When should static_cast, dynamic_cast, const_cast, and reinterpret_cast be used?C++

    static_cast

    static_cast is the first cast you should attempt to use. It does things like implicit conversions between types (such as int to float, or pointer to void*), and it can also call explicit conversion functions (or implicit ones). In many cases, explicitly stating static_cast isn't necessary, but it's important to note that the T(something) syntax is equivalent to (T)something and should be avoided (more on that later). A T(something, something_else) is safe, however, and guaranteed to call the constructor.

    static_cast can also cast through inheritance hierarchies. It is unnecessary when casting upwards (towards a base class), but when casting downwards it can be used as long as it doesn't cast through virtual inheritance. It does not do checking, however, and it is undefined behavior to static_cast down a hierarchy to a type that isn't actually the type of the object.

    const_cast

    const_cast can be used to remove or add const to a variable; no other C++ cast is capable of removing it (not even reinterpret_cast). It is important to note that modifying a formerly const value is only undefined if the original variable is const; if you use it to take the const off a reference to something that wasn't declared with const, it is safe. This can be useful when overloading member functions based on const, for instance. It can also be used to add const to an object, such as to call a member function overload.

    const_cast also works similarly on volatile, though that's less common.

    dynamic_cast

    dynamic_cast is exclusively used for handling polymorphism. You can cast a pointer or reference to any polymorphic type to any other class type (a polymorphic type has at least one virtual function, declared or inherited). You can use it for more than just casting downwards – you can cast sideways or even up another chain. The dynamic_cast will seek out the desired object and return it if possible. If it can't, it will return nullptr in the case of a pointer, or throw std::bad_cast in the case of a reference.

    dynamic_cast has some limitations, though. It doesn't work if there are multiple objects of the same type in the inheritance hierarchy (the so-called 'dreaded diamond') and you aren't using virtual inheritance. It also can only go through public inheritance - it will always fail to travel through protected or private inheritance. This is rarely an issue, however, as such forms of inheritance are rare.

    reinterpret_cast

    reinterpret_cast is the most dangerous cast, and should be used very sparingly. It turns one type directly into another — such as casting the value from one pointer to another, or storing a pointer in an int, or all sorts of other nasty things. Largely, the only guarantee you get with reinterpret_cast is that normally if you cast the result back to the original type, you will get the exact same value (but not if the intermediate type is smaller than the original type). There are a number of conversions that reinterpret_cast cannot do, too. It's often abused for particularly weird conversions and bit manipulations, like turning a raw data stream into actual data, or storing data in the low bits of a pointer to aligned data. For those cases, see std::bit_cast.

    C-Style Cast and Function-Style Cast

    C-style cast and function-style cast are casts using (type)object or type(object), respectively, and are functionally equivalent. They are defined as the first of the following which succeeds:

    • const_cast
    • static_cast (though ignoring access restrictions)
    • static_cast (see above), then const_cast
    • reinterpret_cast
    • reinterpret_cast, then const_cast

    Read the rest at the sourceFrom Stack Overflow: asked by James Eichele, answered by coppro (CC BY-SA 4.0)

  • Why do you want to work for us?Behavioural

    Employers want to see that you have a genuine interest in working for them by asking questions like:

    • what do you know about our company?
    • why do you think you're a good fit for our company?
    • why do you want to work for us?

    To prepare for questions about the employer, you need to research the company. You should look at their website and 'about us' pages to find out more about their products, services and values.

    Show what you've learned about the company throughout the interview.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Jobs in Chicago (1,654), C++ and systems jobs in the USA (107) and Remote C++ and systems jobs in the USA (54)