HNHacker News
TopNewBestAskShowJobs

metaltyphoon

865 karma · joined January 6, 2021

submissionscomments
metaltyphoon··on JVM exceptions are weird: a decompiler perspective
It is Java as C# disallow this
metaltyphoon··on Why is Zig so cool?
Read that and what part of that can’t be done in Rust in 2025?
metaltyphoon··on Why is Zig so cool?
> managing lifetimes

If you are not using a GC language, you WILL be managing lifetimes. Rust just makes it explicit, when the compiler can’t prove it’s safe, which Zig, C don't really care.

metaltyphoon··on Why is Zig so cool?
> I know that Zig doesn't allow attaching data to error for good reasons. If error data contains interior pointer then it causes memory safety problem

IMO this is not a good reason at all.

metaltyphoon··on Nim 2.2.6
> python syntax

I don't mind but many do so I don't see this as a plus.

metaltyphoon··on Zig's New Async I/O
The allocator’s output is only two: either you get memory or you don’t. To quote GP

> Every function with an IO interface cannot be reasoned about locally because of unexpected interactions with the io parameter input

This means with IO interface is not quiet clear what WILL happen so it “depends”

metaltyphoon··on John Carmack on mutable variables
> the idiom would be to shadow intermediate variables often

There is no idiom about this. Do it if you like but clipply doesn't warn about any of it.

metaltyphoon··on John Carmack on mutable variables
Such as? Any links to this?
metaltyphoon··on Zig's New Async I/O
I don't think so because the result of calling an allocator is either you got memory or you don’t, while the IO here will be “it depends”
metaltyphoon··on Zig's New Async I/O
> Weird claim since threads were originally introduced as a concurrency primitive

Wasn't this only true when CPUs were single core only? Only when multi core CPUs came, true parallelism could happen (outside of using multiple CPUs)

metaltyphoon··on Novo Nordisk's Canadian Mistake
I always thought they had auto-injectors
metaltyphoon··on Novo Nordisk's Canadian Mistake
Only now at Costco. It used to be much higher
metaltyphoon··on Zed is now available on Windows
Executables lives in pages of RAM and not all pages are in physical memory at once.
metaltyphoon··on Zed is now available on Windows
Soon https://github.com/microsoft/winget-pkgs/pull/303728
metaltyphoon··on Why Is SQLite Coded In C
The testing suite is not open, which is one of the most important part of the project.
metaltyphoon··on Why Is SQLite Coded In C
These are all opinions.
metaltyphoon··on Why Is SQLite Coded In C
No, but as morbid as this sounds, the three(?) devs one day will pass away so now what?
metaltyphoon··on Why Is SQLite Coded In C
> I think zig generally composes better than rust.

I read your response 3 times and I truly don't know what you mean. Mind explaining with a simple example?

metaltyphoon··on Why Is SQLite Coded In C
The moment turso becomes stable , SQLite will inevitably fade away with time if they don’t rethink how contributions should be taken. I honestly believe the Linux philosophy of software development will be what catapults turso forward.
metaltyphoon··on Why Is SQLite Coded In C
> Zig gives the programmer more control than Rust

More control over what exactly? Allocations? There is nothing Zig can do that Rust can’t.

metaltyphoon··on Rating 26 years of Java changes
I wish C# would add this too. I despise having to write docs in XML style
metaltyphoon··on Rating 26 years of Java changes
This is nuts lol
metaltyphoon··on Windows Subsystem for FreeBSD
Thank you for an actual answer.
metaltyphoon··on Windows Subsystem for FreeBSD
Does this open the possibility for easier cross compilation to macOS?
metaltyphoon··on Zig builds are getting faster
I've been building a shared lib for both Android and iOS/iPadOS and using jni and jin_fn crate in Rust has been a God sent. Using cargo-ndk simplifies the building process so much.
metaltyphoon··on JetBrains will start training AI on your code on non-commercial license
I don't really do front end work so C# with NeoVim is working great for me for the last year.
metaltyphoon··on US gov shutdown leaves IT projects hanging, security defenders a skeleton crew
Because a 60 majority is needed. They have the majority but not 60 so they have to compromise somewhere to get the necessary votes.
metaltyphoon··on Top Programming Languages 2025
IMO a language made mainstream when Azure, AWS and GCP has sdks for it. It’s not fool proof but and its a perhaps a good indicator?
metaltyphoon··on Top Programming Languages 2025
If I were to ask you, how many APIs do you think “core” (w/e you consider core) does Java have. Think of a number before opening the link below and then let me know what you had in mind.

https://apisof.net/

metaltyphoon··on Libghostty is coming
Old but amazing good small series.

https://youtu.be/07Q9oqNLXB4?si=FthNcZSYQSNnT0mP

← PreviousPage 5 of 24Next →