HackerTrans
トップ新着トレンドコメント過去質問紹介求人

garbagepatch

92 カルマ登録 3 年前

投稿

A faithful, native Windows Notepad clone built in Zig using raw Win32 APIs

github.com
1 ポイント·投稿者 garbagepatch·5 か月前·1 コメント

コメント

garbagepatch
·昨日·議論
When was this? I've only seen this "anti-rust" vibe in the past few weeks, guess triggered by the Bun rewrite. Zig people usually will tell you to use the right tool for the job over shilling the language or that you don't need to use it yet (if you want a stable language/documentation) the language will be there if you want to check it in a few years.
garbagepatch
·先月·議論
5 years.

The language itself will probably stabilize in maybe 3 years. The last things they'll do is work on the std lib, documentation, spec. That will take time but the language will be ready before then.
garbagepatch
·先月·議論
Most users don't need it. Having it on by default is a feature for malware writers not users.

But to your point, Node has had permission flags for a while[0] but allows everything by default. Npm could use them to increase security even more. I just hope it doesn't take them another 10 years to change the default.

[0] https://nodejs.org/api/permissions.html
garbagepatch
·先月·議論
I like the terminal aesthetics but please, for accessibility's sake, make input boxes look more like input boxes and buttons look like buttons.
garbagepatch
·先月·議論
Removes a barrier of entry if you can look at it from a browser instead of installing a CLI/TUI.

Don't try to make me install a random program if I can view it in my sandboxed browser safely.

Also, browsers have greasemonkey to help me personalize websites easily. TUIs don't.
garbagepatch
·2 か月前·議論
I guess Bun had the better marketing then. I liked how every new feature came with a benchmark against the previous version and node. See this for example: https://xcancel.com/bunjavascript/status/2048228152397459590

I'd love to see a site comparing the 3 of them in a similar way.
garbagepatch
·2 か月前·議論
To me it feels more like the old "this site only supports IE6". Instead of checking which JS engine the user has, check for specific api support and fail gracefully.
garbagepatch
·2 か月前·議論
According to the bun team, it was already vibecoded for months before the Anthropic acquisition.
garbagepatch
·3 か月前·議論
Does it use your tokens when it does this check for malware? or is that part covered by anthropic?
garbagepatch
·3 か月前·議論
I misread that as "current times" and thought it would sing the news.

It does need more streams for other timezones.
garbagepatch
·3 か月前·議論
Drop the AI written story, take me straight to the "Explore Your Record" view. That's more interesting.
garbagepatch
·4 か月前·議論
If they managed to make 3 full movies out of The Hobbit, they'll surely be able to make a movie or 2 out of 6 chapters of LotR.
garbagepatch
·4 か月前·議論
I'm sure plenty Americans are also laughing at this. No hypocrisy here.
garbagepatch
·4 か月前·議論
There's a bunch of steps before prison that do not work.
garbagepatch
·4 か月前·議論
And it's all a meta commentary on 915.
garbagepatch
·7 か月前·議論
All they left was the stopwords.
garbagepatch
·8 か月前·議論
Regarding runtime overhead, I'd assume you would still need an io implementation, it is just showing it to you explicitly instead of it being hidden behind the std lib.

For simple projects where you don't want to pass it around in function parameters, you can create a global object with one implementation and use it from everywhere.
garbagepatch
·8 か月前·議論
React Native is Javascript on top of the native toolkit of the platform. No HTML or CSS here.
garbagepatch
·10 か月前·議論
What's the problem with the mascot? PostgreSQL has an elephant and MySQL a dolphin. Is the bug too detailed for database software?
garbagepatch
·10 か月前·議論
I wonder, does the important_value function get called and the value discarded or never called at all? Looks like a footgun if it has side-effects.