136 karma · joined May 19, 2019 (7y ago) · 50 submissions
comment 2y ago · link · parent
Consider 10-15 applications running on a host, and all of them are listening to data being distributed by another service. Instead of all of them opening a connection to that service, instead they would all be connected to this sidecar, and the sidecar would merge the distribution of data (and subscriptions) to the pubsub system
comment 3y ago · link · parent
As I see it my only options are:
a) Move back to Canada, start company there. Does this impede getting VC funding? Can I somehow move back to the US if my company becomes successful?
b) Wait until I get a greencard.
Further question:
c) Is it better to go TN->PERM or TN->H1B->PERM, what are the drawbacks of the first option?
comment 3y ago · link · parent
comment 3y ago · link · parent
Merging seems the same on all 3 version control systems I've used... I've heard that git branching is better(?), but haven't seen that being used anywhere really.
comment 4y ago · link · parent
It's a nasty bug that everyone encounters when first working with coroutines. (Similarly everyone will encounter references that don't live until you co_await the task).
comment 4y ago · link · parent
Where do people get their opinions from? It seems like opinions now spread like memes - someone you respect/has done something in the world says it, you repeat it without verifying any of their points. It seems like gamedev has the highest "C++ bad and we should all program in C" commmunity out there.
If you want a good malloc impl just use tcmalloc or jemalloc and be done with it
15.
Facebook's Zookeeper Implementation on Delos(engineering.fb.com ↗)
67 points · by somerando7 · 4y ago · 16 comments
comment 4y ago · link · parent
C++ is basically almost a perfect super-set of C. Use the parts of C++ that are useful to you, don't use the parts that aren't. Clearly std::vector, std::string, std::unordered_map would be ultra useful to anyone. Especially because they are easier to use, more optimized, not as prone to errors as their C equivalents.
I blame Jonathan Blow and Muratori for this. They somehow got the entire gamedev community to worship the idea of writing things in C. People grow out of it really fast though, as soon as they actually learn C++.
comment 4y ago · link · parent
0 interesting/unique content.
Seems like it's copy pasted arguments from any discussion of Rust.
Also, the part about a CTO asking other CTOs to give him a rundown of Rust vs Go is just comical to me...
In total, as a programmer, I would be less likely to apply to work at a company like this.
comment 4y ago · link · parent
What I've found for myself is this greatly demotivates me. Why am I putting in 6-8 hours of pure coding a day when I see the guy next to me doing 1 hour of work and getting payed 2x as much?
I legit have an ic7 on a sister team that has made 40 diffs in the past 2 years, I don't think a single one has been > 50 LoC and it was mostly config changes. Crazy world we live in.