News for hackers. Stuff that matters.

10241024

Re:Overhyping hydrogen as a fuel risks endangering net-zero goals on Wednesday November 16, 2022 @08:44AM (#33622745)
Could someone explain to me why cars running on natural gas aren't popular in the US like they are in South America / Europe?

Converting a car to also run on natural gas costs a few hundred dollars in South America / Europe but after that the benefits are:

- x2 cheaper travel expenses

- less harmful emissions

Since the US is rich in natural gas wouldn't it have been more environmentally conscious to convert the hundreds of millions of petrol cars to also run on natural gas instead of digging up tons of minerals for brand-new electric cars?

Re:Email from Bill (1994) on Monday November 14, 2022 @02:16PM (#33599355)
Bill Gates was prescient about many things we are living with right now - video-on-demand, online shopping, "wallet PCs" (smartphones), voice recognition, "social interfaces" (Siri, Alexa). I recommend his book The Road Ahead (1995).
> Vlang has constantly over promised and under delivered, most of the features they advertise don't work or works in a very limited scope.

This is the 3rd time in this thread this claim is getting repeated. From my previous comment:

"V has an online playground, a package manager, hot code reloading and a REPL whereas Zig doesn't even though Zig is twice as old."

If you can't provide examples of undelivered features, I'm going to have to say you're spreading lies.

Also literally in the HN thread you shared the author of V refuted the claims from the article.

By the way usually when a hit piece about V starts circulating on HN, the author of V takes the time to refute the claims in the comments section:

https://news.ycombinator.com/item?id=31793554

(Ctrl+F amedvednikov)

But I agree 100% - having a blog post that refutes all the claims in one place would be very useful.

To give you some background on why your original post might've been considered inflammatory - the author of the blog you shared has openly said "V is something that should be ignored until it dies into obscurity":

https://news.ycombinator.com/item?id=27442724

I wouldn't call the author an objective reviewer of the language.

Also even in this thread there were people spreading lies about the language:

https://news.ycombinator.com/item?id=33544205

https://news.ycombinator.com/item?id=33544576

who have a history of spreading lies about V that goes back years:

https://news.ycombinator.com/item?id=20765490

My advice is - check out the language and make up your own mind. In the end this is a tool, not a football club.

Unless you can give examples of overmarketing of impossible features, I'm going to have to say you're spreading lies.
Since you are comparing Zig with V:

> V promised a lot of stuff as ready but has undelivered most of them

This is wrong. V has an online playground, a package manager, hot code reloading and a REPL whereas Zig doesn't even though Zig is twice as old.

> If V was truthful like Zig, it would be able to create a foundation

Raising money doesn't lead to adoption, though. By this logic, C isn't truthful either since it doesn't have a foundation.

> Also a programming language will never be able to substitute another one if it is not able to call its vast number of libraries

How is this relevant? Both Zig and V can call C code and leverage C's ecosystem of libraries.

D and Nim are great mature languages. If you think they're suitable for the domain you're working on and reach out for either of them, you're not gonna go wrong. They have large communities and you'll easily find answers to your questions.

I wouldn't call Zig established, though. Zig's compiler still crashes on valid code and compared to V it still doesn't have an online playground, a package manager, hot code reloading, a REPL, etc. even though it's twice as old.

V's syntax is similar to Go. However under the hood V differs from Go. For example:

- V has compile-time memory management similar to the Lobster programming language.

- V has zero-cost interoperability with C.

Check it out and decide for yourself. If you already know Go, you can learn V in an afternoon.

Re:Meta lays off 11,000 people on Wednesday November 09, 2022 @06:32AM (#33530062)
4 months of severance + 2 extra weeks for every year of service i.e. 20 weeks (~5 months) if you've been there for the last 10 years. So ~9 months paid holiday in total. Not bad at all.
Re:Next C compiler is a D compiler: Introducing DMD's ImportC on Thursday November 03, 2022 @11:20AM (#33452394)
Literally from the thread I shared:

- https://news.ycombinator.com/item?id=33337381 (posted from a 12-year-old account)

- https://news.ycombinator.com/item?id=33333904 (posted from a 2-year-old account)

Re:Next C compiler is a D compiler: Introducing DMD's ImportC on Thursday November 03, 2022 @04:59AM (#33448576)
Hard to ignore it when it's always in your face:

https://news.ycombinator.com/item?id=33331549

I don't mind languages getting hyped but seeing posts every week on the front page of HN about an unstable esoteric language with 0 adoption - yes, it's getting tiring.

Re:Ask HN: Have you stopped reading most news? on Tuesday November 01, 2022 @08:27AM (#33420235)
Great question.

I'm subscribed to daily newsletters on The Washington Post, Bloomberg and The BBC News. This is how I stay in the loop.

I also get instant notifications for breaking news (e.g. when the latest prime minister of the UK resigned).

Very rarely now I manually visit news websites.

I haven't used social media (Facebook, Twitter) for years. If I want to share something with someone, I use instant messaging.

Re:A minimal RocksDB example with Zig on Tuesday November 01, 2022 @04:35AM (#33418466)
Thank you for the explanation. I didn't know that (I'm new here).
Re:A minimal RocksDB example with Zig on Monday October 31, 2022 @02:08PM (#33409986)
Probably this thread is going to have some anecdotes:

https://news.ycombinator.com/item?id=33374770

It's already got ~1,600 comments.

The Road Ahead by Bill Gates (1995)

It made me realize it's not companies I would like to be working at but people I would like to be working with.