News for hackers. Stuff that matters.

anta40

Re:Gforth 1.0 on Tuesday October 27, 2026 @09:58AM (#50259443)
Nice to see gforth is still being maintained.

BTW, on the other side, looks like gforth still lacks the ability to create native OS executable, something like:

gcc myprog.c -o myprog

?

Re:Device detection and occupancy monitoring for Airbnb hosts on Wednesday October 07, 2026 @10:46AM (#49993607)
>> How does Crowd Detect estimate occupancy? >> It detects the number of nearby iOS devices in a property and compares it to your defined threshold. If the count is exceeded, Minut sends an alert.

OK so Android users are safe, then. Woohoo!

Re:Competitive Programmer's Handbook (2018) [pdf] on Tuesday October 06, 2026 @02:21AM (#49974911)
I think competitive programming only focus on few technical aspects, like: algorithmic thinking, familiary with various data structures, complexity-performance trade-off, etc etc.

Nothing is wrong with that. Think of it as intellectual exercise. Fair enough, real world software development involves other factors.

I'm pretty sure those things already existed before The Beatles. But it's safe to say the Fab 4 acted as a cultural amplifiers, so those things became accessible to global mass market.
Hmm wonder why pointer (in general, not only for building data structures like linkedlist etc) isn't discussed.
Say to strictly enforce modularity, e.g helper functions that can only be accessed within its function.

Pascal supports it (at least Turbo Pascal, no idea about ISO Pascal).

Re:Chicken Scheme 6.0 on Tuesday August 11, 2026 @05:46AM (#49255572)
What about Gambit? Perhaps it's a better, optimizing compiler but the built-in library is rather minimalist?
>> And that's part of the reason why in 2002, Switzerland's government reduced the Sonnenberg bunker capacity from 20,000 to just 2,000. Its floors filled with bunk beds, a prison and hospital, all deep underground, have been repurposed over the years as overflow housing for refugees, asylum seekers and the homeless. It's a use that has been criticized by organizations that help these populations. Some asylum seekers have protested against being housed here. It has never been used for its original intent: to protect people from nuclear fallout. But the Swiss government continues to spend tens of millions of dollars a year to maintain it and hundreds of thousands of other bunkers throughout the country — just in case.

Oh well...

Re:The Art of 64-bit Assembly on Sunday August 02, 2026 @04:50AM (#49142469)
Mr Kusswurm's x86 book is excellent. Didn't know he also write on for ARM. Thank you!
Re:The Art of 64-bit Assembly on Saturday August 01, 2026 @06:47PM (#49139307)
Since NASM/YASM is written in C, it's more portable. On my ARM Mac, NASM works fine.

FASM is cool (and still being development), but since it's written in 32-bit x86 asm, let's just say macOS is a 2nd class citizen.

Re:The Art of 64-bit Assembly on Saturday August 01, 2026 @06:36PM (#49139194)
You mean this:

https://www.amazon.com/Art-ARM-Assembly-Randall-Hyde/dp/1718... ?

Mmm nice. Will give it a try since ARM-based Mac is my main working environment nowadays.

Re:The Art of 64-bit Assembly on Saturday August 01, 2026 @06:30PM (#49139153)
Not exactly weird... I mean x64 Windows is still pretty popular. And pretty much any Windows dev will have Visual Studio installed (to get MASM).

Unless, you want to use open source MASM-compatible assemblers like JWASM or UASM.

Yes I understand, other folks may prefer Linux/BSD, NASM/FASM, ARM etc etc.

Re:Teaching Kids Forth on Monday July 27, 2026 @06:01AM (#49067320)
>> but personally I'd like to teach my kid how a computer works, not how to use some programming language.

I wonder if assembly is a better choice... hmmm...

Does this mean I can turn my JS-based backend into single executable and easily ship it, like in Go?
Re:In-browser programmable robot simulator on Thursday July 09, 2026 @01:05PM (#48849082)
Works fine on 152.0.5 (aarch64) macOS 26.5.2. I don't use extensions like NoScript etc etc
Re:EndBASIC 0.14: Are we multimedia yet? on Tuesday July 07, 2026 @05:18AM (#48815380)
If you like QuickBASIC, perhaps FreeBASIC is also an interesting choice.

For many years, it practically only supports Windows, Linux, and DOS. Now add macOS into the list: https://deb.fbxl.net/macos/

Re:Poly/ML – A Standard ML Implementation on Tuesday July 07, 2026 @03:55AM (#48814867)
OCaml seems nice for doing real world app development (e.g) web backend, and not limited only for prog lang research.

Hmmm....

Ahh just noticed it's made by graemeg, one of FPC long time contributors.

Many years ago I explored his fpGUI:

https://fpgui.sourceforge.net/ fpGUI Toolkit is a cross-platform GUI toolkit using Free Pascal

Nice to see you are not only limited to Lazarus

Mmmmm just noticed MacOS is now supported. Guess time to say farewell to DBeaver...
Re:Where to buy a non-Apple, non-Google smartphone on Saturday May 16, 2026 @06:43AM (#48158923)
So which one has the biggest chance to be Android/iOS alternative?

Many many years ago, smarphone users had these choices:

Symbian, BlackBerry, Windows Mobile, PalmOS... what else?

Re:Show HN: Trust – Coding Rust like it's 1989 on Thursday May 07, 2026 @11:16AM (#48050460)
Just noticed in cannot build a standalone Rust source file

"error: could not find 'Cargo.toml'"

I assume first need to create a project by "cargo new" ...?

Anyway, love the good ol' Turbo Pascal 7 Reference. Haven't touch it for more than 1 decade.

Re:Show HN: Trust – Coding Rust like it's 1989 on Thursday May 07, 2026 @11:07AM (#48050344)
>> Rust is notorious for its slow compile times

Don't forget Haskell. And what's other... C++, OCaml, etc?

I guess a language with complex/complicated design is difficult to be compiled "blazing fast"

Why choose one if you can use all of them? Windows: gaming, running proprietary Windows-only apps (like engineering stuffs) Linux: back end development, kernel hacking macOS: mobile app development

Well nowadays I'm stick with macOS not because it's pretty, but because a necessary to do my work as a mobile app dev.

Re:New mechanical panoramic film camera from Jeff Bridges on Saturday May 02, 2026 @12:08AM (#47983199)
Is there a completely mechanical version of XPan? Of course I mean shoot 65:24 and have interchangebale lens support?

So far, I think there's no one for 35mm. For medium format shooters, there's the much bigger Fuji/Linhof 617. Of course pretty expensive. Perhaps 3D print is the only viable option...

Re:New mechanical panoramic film camera from Jeff Bridges on Thursday April 30, 2026 @10:24PM (#47970691)
I unserstand this camera is pretty popular among street shooters/photodocumentary folks.

Personally, I prefer less distortion and XPan is the better choice for that (and of course interchangeable lens support). Too bad it's bloody expensive nowadays and since the shutter is battery-dependant, you just have to accept one day it may become a paper weight.

Re:Zed is 1.0 on Wednesday April 29, 2026 @11:45PM (#47957838)
Congtats for reaching 1.0

Gotta say farewell to Sublime. Now Zed is my general purposed text editor. For doing most of my coding work, still use VSCode and nvim.

Re:Kefir C17/C23 Compiler on Tuesday April 21, 2026 @12:10AM (#47844422)
Very impressive for a single dev project.

Nice to see someone started the work from zero instead of piggybacking LLVM.

Re:Hacker News CLI on Thursday April 16, 2026 @12:10AM (#47788563)
Anyone use hnterm? https://github.com/ggerganov/hnterm

I think it still works pretty well, and written in C++ instead of the "cool kids" Go/Rust

Cool. Is macOS (Apple Silicon) also supported?

If not, well there's another reason to have a Linux VM ready :)

Re:A Compiler Writing Journey on Wednesday March 25, 2026 @05:07AM (#47515009)

Older »