167 karma · joined November 17, 2019
People forget Kerr was a bad GM
On x86 you would use a packed struct that matches the wire protocol.
Wouldn’t this require extra copying if member reads were forced to be aligned?
To simplify, It’s saying, if the genome were a string of some length, for any possible byte b and byte position i, there exists a person whose genome has b at position i. Unlike normal character strings, there are only 20 or so valid characters (proteins) encoded by 3 “bytes” (nucleotides) each. So you’re looking at O(10 billion) values of (i, b) that would still keep the string well-formed in its 3-bytes-per-character encoding.
Most importantly, it’s not saying anything about having some bytes b1 and b2 at the ith and jth positions or any generalization thereof.
That’s a little too harsh. You can certainly make it do that via a combination of git tags (to build from source) and CMake modules/Find*, but yes, it’s much more cumbersome than cargo/npm/go
Just one nitpick:
> decent amount of stuff that has to be done in main before you run _start
should read
> decent amount of stuff that has to be done in _start before you run main
Analogously, cleanup code like running global destructors usually happens in _start/CRT after main returns, but I skipped that in the post for the sake of brevity.
> model.get('get')
did you instead mean:
> model.get('age')
I thought the not-thrown case was pretty much zero-cost, at least in newer versions of Clang... How much of a slow down are we talking here?
Bob also gave me a lot of insight on what it’s like working on programming languages in the industry when I reached out to him as an undergrad.
- Is there a story behind the name?
- Out of curiosity, does “Encore Cloud” also run on AWS?
- I think a lot of developers have a mentality of “rather write boilerplate than be tied to a platform not endorsed by $bigCompany”. Do you have a strategy to mitigate this?
I hope it’s okay to ask a technical question:
How did you build push notifications (especially on mobile) with a single codebase? Do you use something like OneSignal?
Also, is your iOS app still using Cordova? It looks and feels so nice, which is a marked difference from the last time I tried that framework.
It’s not a difficult task, but when discussing viability with the APIs team, the general consensus was that you don’t want your API coupled to your data. Most of the time, you don’t want to expose everything.
Of course, you can start describing what to omit, but now you’re just writing an API design by omission.
Building good APIs is hard, so you want to build the right abstraction - which is not always the easiest one.