Better HN
topnewbestaskshowjobs
Log inSign up

90s_dev

1,788 karma · joined Mar 13, 2025 (1y ago) · 921 submissions

Submissions

61.

Zigwin32(github.com ↗)

2 points · by 90s_dev · 1y ago · 1 comment

comment 1y ago · link · parent

I went from vim to emacs and used that for a few years, then moved to VS Code for the next 10 years or so. It's showing its age a bit lately, so I'm sure I'll try another one soon, which is why I looked at Helix. But I'm very glad there are very different editors for very different types of minds, just like how there are different ways to indent/format code. Programmers do not have one-size-fits-all minds, and we shouldn't design anything assuming they do/should. (Looking at you, Golang.)

comment 1y ago · link · parent

My comment was after having learned and gotten very good at vim about 15 years ago and used it primarily (via neovim) for at least a while, probably a few years, before moving to emacs, and finally VS Code. I still use vim for quick edits on the command line. I know how to edit modally, it just feels unnatural for me.

comment 1y ago · link · parent

I used vim for a few years about 15 years ago, yes.

It's not that it's difficult for me, it's that it's unnatural for me.

Different people's minds work differently.

comment 1y ago · link · parent

It looks very interesting and I'd love to support it, but editors that must be modal are difficult for me to use, personally. Editors that are not modal can be made modal, but can modal editors be made non-modal?

comment 1y ago · link · parent

Thanks, I'll be using this.

What I don't understand is why assembly feels so hard to learn in the first place?

I mean, isn't it just a simple language with a few function calls (instructions) and types (operand sizes) and fixed number of variables (registers) and a small number of control flow operators, and that's it? Why does it feel so mysterious?

comment 1y ago · link · parent

I came across this trick a few months ago when I was dealing with what seemed to be a race condition from a chrome-only API, and I just felt so clever! I don't remember though whether the race condition actually was one or not though, and I eventually had to rip that entire class out of my codebase. But it's such a good feeling to know I came up with a solution that clever all by myself.

comment 1y ago · link · parent

For now.

https://github.com/tc39/proposal-type-annotations

comment 1y ago · link · parent

Please do!

comment 1y ago · link · parent

The first HN link in my comment addresses that. The short version: learn the earliest asms first, then progressively learn the newer ones until you get to today, and none of the knowledge will be wasted. Kind of like fast-forwarding.

comment 1y ago · link · parent

I came to the party way to late. A month ago, I found out asmjit was a thing, and now it's happily embedded in my app. But I don't know assembly! I tried to learn a few times since the early 2000s but the timing was never right. But hand written asm as a feature fits perfectly into my upcoming app, so now I am on a roll learning assembly! Here are some more resources I found so far:

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

https://sonictk.github.io/asm_tutorial/#introduction/setting...

https://cs.brown.edu/courses/cs033/docs/guides/x64_cheatshee...

https://people.freebsd.org/~lstewart/articles/cpumemory.pdf

https://learn.microsoft.com/en-us/cpp/build/x64-calling-conv...

72.

Let's Learn x86-64 Assembly (2020)(gpfault.net ↗)

420 points · by 90s_dev · 1y ago · 99 comments

comment 1y ago · link · parent

[flagged]

comment 1y ago · link · parent

I was unclear. The "Truth and Life" dramatized audio New Testament that I referenced, is not made with AI but with excellent voice acting work from names like John Rhys-Davies, Malcolm McDowell, Neal McDonough, Stacy Keach and other people that AI will never be able to compete with. I recommend dropping the audio bible feature and just pointing people to this one, which is cheap, and the Gospel of Mark is eve free.

comment 1y ago · link · parent

A bit off topic, but since you mentioned doing your best thinking in the bathroom, two things you should try are (a) no caffeine, and (b) no soy. These should dramatically cut down on the number of times you have to go and how long it takes.

comment 1y ago · link · parent

> de-staff and de-fund organizations whose existence is enshrined in law

> nobody in the executive branch, of any given party, independent, or otherwise should be granted these powers

Then who should be able to defund and destaff organizations? Nobody? Should they last forever simply because they were legislated at one point?

---

[ EDIT since I can't comment anymore today ]

My mistake, I did not see the word "congress" in the text I was quoting.

My mind has been shut down for about 49 days. It's difficult to think at all.

comment 1y ago · link · parent

I rarely read the Bible anymore. When I first became a Christian, I was reading it all the time, I couldn't put it down. Eventually life got the better of me and I stopped reading it. A few times since then, I decided to start reading it, and every single time, it turned out to be a really great experience that I was surprised I put off for so long. And then once again, life would get in the way and I wouldn't read it for a while, thinking it was too boring or pointless.

So great job making an app to make this easier.

For your core features, the "instant verse lookup" and "reading progress that sticks" look very useful.

But KJV audio? I think you'd be competing with the excellent dramatized audio book Truth and Life (RSVCE), which nobody can top.

comment 1y ago · link · parent

I can only post a couple times per day now, and I've already posted a few times today, so I don't know if this will go through. Thanks Tom. But I'll try anyway.

I fully agree that software has gotten substantially more complex. There seem to be far too many levels of abstractions on top of abstractions. I do miss the days of QBasic, and that's why I'm working on the product I legitimately need to release before the end of the month.

But not every layer has the same level of low quality. For example, you brought up lazy loading. It actually can take a lot more work to properly support lazy loading, unless your framework supports it. I'm not sure what Slack uses beyond just Electron, but even in vanilla JS it's not easy to get lazy loading working properly, although the animations are very easy to get wrong with canned code.

On the note of Electron, I'm very happy to report that the last time I checked the size of my Release build for my pure Win32 app, it was sitting at 312 kb total, as a single standalone .exe file. It will of course be a bit bigger than this when I finally release it, but still, there's something so satisfying about making something with such extreme minimalism.

comment 1y ago · link · parent

> The Berry interpreter-core's code size is less than 40KiB and can run on less than 4KiB heap

I did not see that on the front page. Thanks for pointing it out.

My mind shut down about 49 days ago.

comment 1y ago · link · parent

Oh, they say it was inspired by Lua. So it's more like Wren I guess, but probably less performant than Wren too[1]. And less powerful than Lua since Lua metatables are half magic half genius. Still, I'd like to see a benchmark like this.

[1] https://wren.io/performance.html

comment 1y ago · link · parent

This seems to have almost the exact same feature set and use-case as Lua. How does it compare in performance? I doubt it can be faster than Lua 5.5

comment 1y ago · link · parent

What a nice dream.

comment 1y ago · link · parent

Oh I forgot there would be a weekly newsletter (posted on the mailing list) and an official catalog of new apps/games in the newsletter.

I also thought of how we could create a site that lets you sign up and upload your shareware games and uses public/private key pairs to generate license keys upon purchase which your app validates with the public key at runtime.

Apps would have to be compiled to wasm bytecode or lua bytecode for that to work though and not be easily crackable.

comment 1y ago · link · parent

Too little too late I guess.

85.

A Dream for 90s.dev(90s.dev ↗)

3 points · by 90s_dev · 1y ago · 3 comments

86.

D3D11 Texture Update Costs(eatplayhate.me ↗)

1 points · by 90s_dev · 1y ago · discuss

comment 1y ago · link · parent

Maybe I worded it wrong. I want to develop my app in VS Code. I have gotten so very used to everything about how VS Code works over the past 10 years, that Visual Studio feels so unintuitive and backwards and weird. But VS is the king of C development on Windows apparently. That said, I've made some progress getting VS Code to work with the official Microsoft plugins for both C/C++ and CMake, both inside WSL and outside of it, though nothing that doesn't feel somewhat hacky.

comment 1y ago · link · parent

\<rant>

From all that I've experienced in the past few weeks dealing with C projects and various build systems and operating systems, I suspect that using Zig would work perfectly as an easy cross-platform alternative to CMake. Until I open up my code in VS Code and the C/C++ plugin just doesn't work, no auto-completion, no go-to-definition, syntax highlighting is broken, etc., and all because it can't find the files in places it ordinarily expects them to be. And maybe there will be some hacky way to fix it with a setting for the VS Code plugin, but likely not.

I'm not saying this is the case, but literally none of the setups I tried feels non-hacky so far, and every one of them has at least one noticable problem during development. I truly miss the days of writing apps for a single platform using its own native build tools. Maybe that's what I'll do: write this as a native Windows app using Visual Studio (ugh, such an awful editor though) and then if I get sales, port it to Mac OS X 10 using Xcode.app, and compile it for Linux inside WSL with GCC 15.

\</rant>

comment 1y ago · link · parent

Unused variables stops all further compilation, so that even future errors can't be seen until the variable is used.
12345
31