News for hackers. Stuff that matters.

rbnsl

Ask HN: Does anyone actually use data structures/algorithms at work?

Sitting at around 4 years of experience now and last month was my first time actually implementing a graph traversal in prod, and then last week a skip list. It was fun, and I loved being able to instantly link the problems I was facing to algo/structures I knew would work, but it seems it happens so infrequently to not justify the emphasis we place on these in interviews.I imagine any regular...

( Read More... | 11 comments | 2 points | on HN )
“Existing modern languages already provide an excellent developer experience: Go, Swift, Kotlin, Rust, and many more. Developers that can use one of these existing languages should. Unfortunately, the designs of these languages present significant barriers to adoption and migration from C++.”

Hadn’t heard of Carbon, very cool. Super telling line with the “Developers that can use one of these existing languages should.” Thanks for sharing!

Thanks for all the sources! Especially surprised on the Google one, used to work there and remember hearing that considerable parts of Fuchsia (https://en.m.wikipedia.org/wiki/Fuchsia_(operating_system)) were written in Rust but didn’t know they were also conducting studies across the org about how much more productive eng were with it. Pretty cool
Interesting, haven’t heard this viewpoint before of Rust being a drop in replacement for Java. From my limited experience with Rust it felt like the learning curve was way steeper than when I was learning Java for my previous job. Good point on C though, one of my old CS instructors would always call C his swiss army knife since its so small he had practically the entire syntax in his head.
Re:Ask HN: Series A/B startups, what's your infra setup? on Monday April 01, 2024 @07:14PM (#39900498)
The startup I work for is getting off a similar PaaS and evaluating Porter too; we really like the idea of the white glove service they have and flexibility across multiple clouds but was worried about general overhead in someone on the team needing to manage it, whereas the PaaS was so hands off (even if it was a black box). Curious what you and your team end up deciding on!
Re:Ask HN: Why is Vercel so expensive? on Monday April 01, 2024 @04:26PM (#39898810)
Yeah it really feels like once your hobby project actually starts making some money, they start charging you insane amounts to compensate the millions of other hobby projects they host that haven’t made a dime yet…

Ask HN: Why would you ever use C++ for a new project over Rust?

Was having this debate with a coworker recently who’s a Rust fanatic and prior C++ eng; he said the tooling and support has gotten so good you would just be shooting yourself in the foot if you ever started something new on C++. I wasn’t convinced but is this really the case? Like if you had equal skill in both, is there ever a case for doing a project in C++ (outside of being forced by the...

( Read More... | 39 comments | 5 points | on HN )
Re:Ask HN: Is crypto still bad for the environment? on Monday April 01, 2024 @02:24PM (#39897370)
Pretty sure it’s still the case from recent convos I’ve had with friends in crypto, it’s just no one talks about it anymore because crypto is massively unrelevant right now
What’s the alternative? I feel like the interface is so simple for non infra engineers who just want to get a hobbyist project off the ground. I mean sure it’s not going to have the bells and whistles of something like Porter or just going onto aws/gcp directly but saying “self respecting” is ridiculous. It’s just a time tradeoff
Re:LLaMA Now Goes Faster on CPUs on Monday April 01, 2024 @02:15PM (#39897250)
Definitely wild we’re in the timeline you can run a 1.1 bn param model on a raspberry pi, but its still tough to justify because the 1.1 is kinda useless compared to the beefier models. Sick for home builds/hobbyists though I might wanna get one of the new Pis just to try this out