HNHacker News
TopNewBestAskShowJobs

vitaminCPP

244 karma · joined October 11, 2017

^-^
submissionscomments
vitaminCPP··on No-Libc Zig Now Outperforms Glibc Zig
This is great. It really showcases zig's dedication to quality, IMO.

I wish they took the time to communicate the intricacies of their toolchain.

Some things I think are remarkable:

Contrary to Rust, zig allows to cross-compile to MacOS. I think this implies that zig needed to build a custom linker!

Regarding libc:

- On Linux libc is not required because zig is using syscalls directly

- On MacOS libc is required because of the lack of stable abi

- On Windows libc is not required because zig links to windows kernel dll.

To my understanding, this implies that a compiled zig program will work across all linux distributions!

For C integration, I'm not knowledgeable enough to fully appreciate the work being done. but the fact that the cross-compiling also works out-of-box is mind-blowing to me.

vitaminCPP··on No-Libc Zig Now Outperforms Glibc Zig
This is great. It really showcases zig's dedication to quality, IMO. I wish they took the time to communicate the intricacies of their toolchain.

Some things I think are remarkable:

Contrary to Rust, zig allows to cross-compile to MacOS. I think this implies that zig needed to build a custom linker!

Regarding libc:

- On Linux libc is not required because zig is using syscalls directly - On MacOS libc is required because of the lack of stable abi - On Windows libc is not required because zig links to windows kernel dll.

To my understanding, this implies that a compiled zig program will work across all linux distributions!

For C integration, I'm not knowledgeable enough to fully appreciate the work being done. but the fact that the cross-compiling also works out-of-box is mind-blowing to me.

vitaminCPP··on Egoless Engineering
Is there a video of the talk somewhere ?

I prefer recording over slides.

vitaminCPP··on RAII and the Rust/Linux Drama
Great article.

It can frustrating to see members from the Rust community just assume that RAII is a good idea; completly dismissing that this debate has been going on for the last 3 decades in system programming community.

vitaminCPP··on Ziglang.org migrates from AWS to self-hosting
I really like this mentality.

I whish there was more ressource to learn this "low-level" approached to web developpement.

vitaminCPP··on Considerations when building embedded databases
SQLite would require a file system. Embedded systems typically do not have this.
vitaminCPP··on How I Use Git Worktrees
> "ggc utility"

Does anybody know what this is? Google won't help.

vitaminCPP··on X redesigns water pistol emoji back to a firearm
Same
vitaminCPP··on Ask HN: Is there a list of grey-hair-friendly IT companies?
This is match my experiences.

Saddly, bad middle manager wants to hire a yesman (or women). Not an experienced engineer that will challenge them by highlighting to upper management the project technical debt, the lack of tests or the broken CD pipeline.

vitaminCPP··on The number of CS grads who don't even know basic Git commands is astounding
I don't know where you are from, but in Canada there's a clear distinction between those 2 degres.
vitaminCPP··on Zig's new CLI progress bar explained
it's a joke. Obviously, when you're a compiler engineer, creating a progress bar is not a great demonstration of your skill.
vitaminCPP··on Zig 0.12.0 Release Notes
Hey Jarred; Nice to see you here.

Great work on Bun. Excited to see the future of your project.

vitaminCPP··on Zig Roadmap 2024 [video]
Insight full comments. Thanks for sharing.
vitaminCPP··on Improving our safety with a physical quantities and units library
Does anybody know about a unit library in C?
vitaminCPP··on So you want custom allocator support in your C library
> Aside: I really hate how the nullprogram site linked seems allergic to type-safety.

Could you give us an example, I'm not sure what you refering to.

vitaminCPP··on Ask HN: What apps have you created for your own use?
Any details on this ? I try building this in the past, without success.

I'm interested about what features worked for you.

vitaminCPP··on Problems of C, and how Zig addresses them
> No other language I know has an equivalent tool.

I completely agree: this has been my experience as well.

vitaminCPP··on Nvidia Security Team: “What if we just stopped using C?”
At the moment, Zig and Rust are the most exciting places to look, IMO.
vitaminCPP··on The Fundamentals of Control Theory
Brian Douglas is certainly one of the great teacher of control. That said, this books is, to my knowledge, a incomplete and abandoned project.

I would recommend checking it's YouTube channel instead.

vitaminCPP··on Why aren't there C conferences? (2018)
While the title may say otherwise, the article is worth a read just for the talks recommandation.
vitaminCPP··on Why aren't there C conferences? (2018)
Can you share more details? This is a world I know nothing about.
vitaminCPP··on Research shows circadian clock influences metabolism, cell and tumor growth
> double blind

Ah!

vitaminCPP··on Why thinking hard makes us feel tired
This is why I like this forum: Understanding brain biology with a Electron's app RAM consumption analogy.
vitaminCPP··on Ask HN: What are some cool but obscure data structures you know about?
This is a great selection. Thanks for sharing.
vitaminCPP··on The Descent to C (2013)
If one of your requierements is performance, ressource efficiancy and responsiveness, memory layout is the opposite of irrelevant.

I can't imagine living in a 3rd world country with today's electron's catastrophy.

vitaminCPP··on Ask HN: What's the most life-changing blog post you've ever read?
This is good. It made me think at the "tutorial hell" concept.
vitaminCPP··on So you want to build an embedded Linux system?
Thanks. I realized that there are several types of MMU. I was thinking of the simple MMU (on 32bit MCU) that limit memory access. Not the one that provides the illusion of virtual addressing.
vitaminCPP··on So you want to build an embedded Linux system?
thanks for sharing
vitaminCPP··on So you want to build an embedded Linux system?
> Because Linux-capable application processors have a memory management unit, *alloc() calls execute swiftly and reliably. Physical memory is only reserved (faulted in) when you actually access a memory location. Memory fragmentation is much less an issue since Linux frees and reorganizes pages behind the scenes.

This paragraph is confusing to me.

- How would a MMU help for malloc to execute "swiftly and reliably" ?

- What does "actually access a memory location" implies exactly?

- "since Linux frees and reorganizes pages behind the scenes": Is this not what people dislike from malloc? That it's none deterministic?

vitaminCPP··on Boeing Engineers Lost Control of the Company
This is short and excellent. Thanks for sharing.

I wish Mr. Stoller took more time on this:

> The Federal Aviation Administration, having outsourced much of its own regulatory capacity to Boeing, didn’t know what was going on, and Boeing didn’t tell airlines and pilots about the new and crucial safety procedures.

This seems like big deal to me.

← PreviousPage 2 of 3Next →