Live data from Hacker News

Minimal x86 Kernel Zig

github.com

61–70 of 71 posts

Re: Minimal x86 Kernel Zig

#62
post #53

Earlier quoted context omitted.

If you read yourself you'll realize your answer i highly toxic, quiet honestly completely irrelevant, discouraging other people from doing what they like. I would get rid of people with your attitude, you are the kind of problem I don't want to have to deal with and more than that, I don't want to have juniors have to deal with you. Please realize that you had your chance and you played it. Nobody ow you an explanati…

What in the sweet chili dipping sauce did I walk into? drnick1 says why "Zig" not C? [I took the quotation marks as dismissive of Zig, but I could be misreading that] 6r17 says why do it in C? lelanthran says the language is mostly irrelevant, it's a fun experiment. 6r17 blows off the handle and starts calling people toxic and being really unpleasant. Nothing in this comment chain seems to justify even 1/10th of the…

"Considering that we are talking about experimental toys which have lower odds of seeing production than of you winning a national lottery jackpot"

Re: Minimal x86 Kernel Zig

#65
post #49
post #39

Earlier quoted context omitted.

Would you say its always slower, or always faster?

No. I will continue my crusade against blanket statements about performance.

That's what I was getting at in my response. Once you add the qualifiers that were originally implied, its obvious that this is not an objective discussion to be had.

Re: Minimal x86 Kernel Zig

#66
post #21

Here's one for Risc-V that's a little more fleshed out, also in Zig: https://github.com/Fingel/aeros-v/blob/main/src/kernel.zig

That one actually looks more like a real kernel with services like memory management, syscalls, processes and context switching. Nice work.

Re: Minimal x86 Kernel Zig

#67
post #49

Earlier quoted context omitted.

No. I will continue my crusade against blanket statements about performance.

Gee, good thing I didn't make a blanket statement and qualified it by saying "often", which is true, my contrarian dude. https://tigerbeetle.com wouldn't have chosen it unless they found it faster than C- and there's a significant quantity of money riding on that decision, so it likely wasn't done lightly at all . The rest, you can google yourself, but in short, sorry to tell you that it is sometimes faster. Often, s…

No. It is a blanket statement that is never true. A programming language has no inherent speed. Your appeal to authority argument is rejected.

Re: Minimal x86 Kernel Zig

#69
post #62

Earlier quoted context omitted.

What in the sweet chili dipping sauce did I walk into? drnick1 says why "Zig" not C? [I took the quotation marks as dismissive of Zig, but I could be misreading that] 6r17 says why do it in C? lelanthran says the language is mostly irrelevant, it's a fun experiment. 6r17 blows off the handle and starts calling people toxic and being really unpleasant. Nothing in this comment chain seems to justify even 1/10th of the…

"Considering that we are talking about experimental toys which have lower odds of seeing production than of you winning a national lottery jackpot"

If you think that quote above is at all proportionate or justifies your toxicity, we have nothing else to discuss.

Re: Minimal x86 Kernel Zig

#70
post #9

Gold! I see Zig, I upvote!

Well, in the real world we need at least polymorphism and operator overloading, but that is against the core Zig philosophy, so serious GameDev ignores it (which ironically one would think is the biggest core market for low level systems programming). Hence why new GameDev development still chooses C++, and Andrew’s project fails to gain a significant boost in users.

So use Zig to implement Smalltalk. All problems solved.
Post reply on HN