HackerTrans
TopNewTrendsCommentsPastAskShowJobs

super_flanker

no profile record

comments

super_flanker
·5 เดือนที่ผ่านมา·discuss
This must be a sarcasm, right?
super_flanker
·6 เดือนที่ผ่านมา·discuss
> I was referring to mandate to use it at big companies.

I've worked in almost all of big tech, and these companies don't create mandate just because "Trust me bro" or to gain some "political achievements". Their are teams who champion new technology/languages, they create proof of what new technology will bring to the table which cannot be filled with existing ones. I left amazon 7 years ago so don't know about recent development. However at Meta/Google teams are encouraged to choose from the mandate languages and if they can't they need to request for exemption and justify the exception.
super_flanker
·8 เดือนที่ผ่านมา·discuss
> It might be counterintuitive, but garbage collectors in multithreaded code can be very efficient.

What has garbage collector to do with multithreaded code? Once you have two or more threads which needs to share data, they need to sync and you'd end up using some kind of lock, which will affect the performance. GC doesn't make anything efficient or less efficient here. It might make the code simpler as you don't have to worry about allocation/deallocation, but I don't see how it's magically going to remove the lock.
super_flanker
·8 เดือนที่ผ่านมา·discuss
No, you don't. All you need is to create a folder `bin` and any file with `main` fn in it will create a binary.
super_flanker
·8 เดือนที่ผ่านมา·discuss
And tell me how that pointer semantics would do * a very strict type checking * Pattern matching * Algeberic data type

Plenty of people don't write Rust for additional memory safety, they write Rust because the features provided by it is overall very balanced & encourages developer to write code which handles almost all edge cases.
super_flanker
·8 เดือนที่ผ่านมา·discuss
This, from my limited experience working on AOSP at Google, only the newer code were being written in Rust, not the existing code. But that was 2 years ago.
super_flanker
·8 เดือนที่ผ่านมา·discuss
I agree with simplicity and ease of learning Go.

> 3 years working with I might have had at most 3 times nil pointer crashes in prod

I've been running a rust app for my personal trading app and a small service at a very large FAANG company for more than 3 years, and guess what I'm yet to see a nil crash.
super_flanker
·10 เดือนที่ผ่านมา·discuss
> Their goal is by end of year.

It's like what 6-7 years since the goal was "end of the year".
super_flanker
·2 ปีที่แล้ว·discuss
> Is there a good argument for actually using Rust for such things?

Can't speak for the author, but I'd choose Rust over Go/Java/Python for such projects for following reason:

* Rust is a more pleasant language to work with, i.e. Sum type, pattern matching, and Drop trait closing resources/cancelling tasks.

* Type system is much more robust than Go and Java, resulting in better quality code with less requirement of unit tests.

* I don't care about performance much (for personal projects), but a free performance is always a win.
super_flanker
·3 ปีที่แล้ว·discuss
It could be different for other teams, but in my team we spend a lot of time writing design docs, discussing new features (which we never end up implementing), taking a lot of time in code reviews, making sure that public changes are backward compatible. Hence at the end producing very little output and wasting tons of time in the due process.
super_flanker
·3 ปีที่แล้ว·discuss
I agree, but Google is the slowest.
super_flanker
·3 ปีที่แล้ว·discuss
Not really, especially Facebook (Meta) moves really fast. They have a slogan "Move fast, break things", okay not "Break things" anymore. But you get the gist, in my experience working at almost all of FAANG, Meta and Netflix move the fastest.
super_flanker
·3 ปีที่แล้ว·discuss
As far as I can tell from my prior experience of working at Insta is that all the work is done by various services written in C++/hack. Python/Cinder would be just interface layer routing the incoming request/response from/to client.