News for hackers. Stuff that matters.

bcardarella

Every single social event is a financial consideration now. Want to go out with the wife for the evening? It's going to cost $150+ for a baby sitter at $25/hour. The dinner + tip is going to cost $200. Parking is going to cost $50 - $100 if you go into a city. You could take public transportation but then you're loooking at that cost shifting back to the babysitter. Before you know it you're in for $300 - $500 just for a night off.
There are two things that I feel impacted the US here:

1. the R&D tax credit was gone from 2022 - 2025 thanks to the Tax Cuts and Jobs Act signed in 2017.

2. private equity does not invest in R&D

Re:Zig ELF Linker Improvements Devlog on Saturday May 30, 2026 @02:22PM (#48339216)
I'm very glad to see the work, thank you for all of the efforts.
Re:Zig ELF Linker Improvements Devlog on Saturday May 30, 2026 @02:11PM (#48339091)
I wonder how much this work being pushed forward right now is a response to the Bun drama.
Re:Phantasy Star IV – 1993 Developer Interviews on Tuesday May 26, 2026 @05:17PM (#48286083)
Phantasy Star remains to this day my favorite RPG. I was the kid in the neighborhood who's parents bought a SEGA Master System instead of a NES. I would play Final Fantasy a bit over their houses but it always paled in comparison to Phantasy Star. I recently replayed it on Nintendo Switch. Still a very challenging RPG and stil feels great.
I agree that borrowing against unrealized gains is crap, it's lead to major economic divide. However, just make borrowing against unrealized gains illegal. Taxing unrealized gains is the wrong solution for a real problem.
Re:Fast Lua runtime written in Rust on Monday November 24, 2025 @09:54AM (#46034795)
"written in Rust"

ok

Re:Brimstone: ES2025 JavaScript engine written in Rust on Sunday November 16, 2025 @11:35AM (#45946354)
I only ran both with `cargo build --release`
Re:Brimstone: ES2025 JavaScript engine written in Rust on Sunday November 16, 2025 @09:54AM (#45945551)
Just a small comparison, compiled for release:

Boa: 23M Brimstone: 6.3M

I don't know if closing the gap on features with Boa and hardening for production use will also bloat the compilation size. Regardless, for passing 97% of the spec at this size is pretty impressive.

Re:Zig's New Async I/O [video] on Thursday October 30, 2025 @04:43PM (#45765081)
One that was tossed in 0.15 was `usingnamespace` which was a bit rough to refactor away from.
Re:MLB approves robot umpires for 2026 as part of challenge system on Wednesday September 24, 2025 @12:57AM (#45356459)
You may be correct, but the rate of change in baseball is glacially slow compared to the other sports. One of baseball's intrinsic values is it's legacy, tradition, and history. Some may scoff at that, and I think there are good arguments against legacy/tradition as a reason to withhold change, but there are a lot of people out there that believe this. The MLB Commissioner's have largely been tasked with protecting that tradition and history.
Re:Pico CSS – Minimal CSS Framework for Semantic HTML on Sunday September 07, 2025 @08:28PM (#45163582)
This is how CSS should be written. I will never understand why class names need to repeat the semantic purpose for a given element.
Re:Show HN: My First Game Made with My Homemade Engine on Sunday August 24, 2025 @04:22PM (#45007435)
How far should I be able to progress? I can out of the first room and open the cabinet in the second room, but cannot progress further.
Re:The AI vibe shift is upon us on Sunday August 24, 2025 @06:53AM (#45003159)
Epic paintball venues
Re:I let LLMs write an Elixir NIF in C; it mostly worked on Friday August 15, 2025 @03:07PM (#44916306)
The issue in this case was Opus was pretty crap at C. It kept introducing segfaults.
Re:I let LLMs write an Elixir NIF in C; it mostly worked on Friday August 15, 2025 @12:37PM (#44914489)
I tried to do this a few weeks ago, I tried to build a NIF around an existing C lib. I was using Claude Opus and burned over $300 (I didn't have Pro) on tokens with no usable results.
This is another extraction from the project that I discussed in this HN thread: https://news.ycombinator.com/item?id=44651539#44652356

tldr; we're building a headless browser in Elixir that will embed on device, communicate to the native 1st class rendering engine (i.e. SwiftUI, Jetpack Compose, WinUI3, etc...) via disterl, and allow for web-like ergonomics to build truly native SSR applications.

The README for Elixir Pack is a bit focused on the LiveView Native project but that documentation will soon be updated to remove mention of it.

Re:Twenty Eighth International Obfuscated C Code Contest on Sunday August 03, 2025 @01:17AM (#44774240)
> Increased submission quantity and quality

So everybody just LLM'd this, right?

Re:Breaking the WASM/JS communication performance barrier on Saturday July 26, 2025 @09:31AM (#44693965)
How does the performance compare to projects like Wasmtime?
Re:Swift-erlang-actor-system on Saturday July 26, 2025 @07:23AM (#44693211)
This is one of the fundamental differences for what we're doing. We are not building a write-once-run-everywhere solution. SwiftUI will have its own templates, Jetpack (Android) will have its templates, WinUI3 will have its templates.
Re:Swift-erlang-actor-system on Tuesday July 22, 2025 @08:51PM (#44654622)
Apple also doesn't allow JITs, and you cannot hot load code to modify the application.
Re:Swift-erlang-actor-system on Tuesday July 22, 2025 @07:57PM (#44654308)
The LVN Elixir libraries are pretty much done and those really shouldn't change out side of perhaps additional documentation. I have been back and forth on the 2-arity function components that we introduced. I may change that back to 1-arity and move over to annotating the function similar to what function components already support. That 2-arity change was introduced in the current Release Candidate so we're not locked in on API yet.

What is changing is how the client libraries are built. I mentioned in another comment that we're building a headless web browser, if you haven't read it I'd recommend it as it gives a lot of detail on what we're attempting to do. Right now we've more or less validated every part with the exception of the overall render performance. This effort replaces LVN Core which was built in Rust. We really ran into trouble when we started implementing more complex things like Live Components. While LVN Core has worked very well it's implementation I believe was incorrect. Going the route of the browser implementation means we are no longer locked into LiveView as we should be able to support any web client that does similar server/client side interactivity. I don't think we'll get to 100% compatibility with LiveView itself without doing this.

Re:Swift-erlang-actor-system on Tuesday July 22, 2025 @07:39PM (#44654234)
You'd have to refer to all of the applications running on the BEAM that are distributed across multiple datacenters. Fly.io's entire business model is predicated on globally distributing your application using the BEAM. I'm not sure what that book said exactly perhaps the original intent was local distribution but Erlang has been around for over 30 years at this point. What it's evolved into today is architecturally unique compared to any other language stack and is built for global distribution with performance at scale.
Re:Swift-erlang-actor-system on Tuesday July 22, 2025 @07:31PM (#44654197)
Not sure as I haven't done any work with it. On a cursory glance it could have some overlap but it appears to not target the 1st class UI frameworks. It looks to be a UI framework unto itself. So more of a Flutter than what we're doing is my very quick guess. We get major benefits from targeting the 1st class UI frameworks, primarily being we let them do the work. Developing a UI native framework I think is way way more effort than what we've done so we let Apple, Google, and Microsoft to decide what the desired user experience is on their devices. And we just allow our composable markup to represent those frameworks. A recent example of this is with the new "glass" iOS 26 UI update. We had our client updated for the iOS 26 beta on day 1 of its release. Flutter has to re-write their entire UI framework if they want to adapt to this experience.
Re:Swift-erlang-actor-system on Tuesday July 22, 2025 @07:27PM (#44654175)
XAML will be a target as we intend to build a WinUI3 client. Of the big three native targets: Apple, Android, Windows the later may be the easiest as from what I've seen nearly everything is in the template already
Re:Swift-erlang-actor-system on Tuesday July 22, 2025 @06:34PM (#44653796)
As far as how it is different from React Native. That's a good question, one that I think is worth recognizing the irony which is that, as I understand it, without React Native our project probably wouldn't exist. From what I understand RN proved that composable UI was the desired UX even on native. Prior to RN we had UIKit and whatever Android had. RN came along and now we have SwiftUI and Jetpack Compose, both composable UI frameworks. We can represent any composable UI frameworks as a markup, not so much with the prior UI frameworks on native, at least not without defining our own abstraction above them.

As far as the differentiator: backend. If you're sold on client-side development then I don't think our solution is for you. If however you value SSR and want a balnance between front end and backend that's our market. So for a Hotwire app you could have a Rails app deployed that can accept a "ACCEPT application/swiftui" and we can send the proper template to the client. Just like the browser we parse and build the DOM and insantiate the Views in the native client. There are already countless examples of SSR native apps in the AppStore. As long as we aren't shipping code it's OK, which we're not. Just markup that represents UI state. The state would be managed on the server.

Another areas we differ is that we target the native UI framework, we don't have a unified UI framework. So you will need to know HTML - web, SwiftUI - iOS, Jetpack Compose - Android. This is necessary to establish the primitives that we can hopefully get to the point to build on top of to create a unified UI framework (or maybe someone solves that for us?)

With our wasm compilation, we may even be able to compile React itself and have it emit native templates. No idea if that would work or not. The limits come when the JS library itself is enforcing HTML constraints that we don't observe, like case sensitive tag names and attributes.

What about offline mode? Well for use cases that don't require it you're all set. We have lifecycle templates that ship on device for different app states, like being offline. If you want offline we have a concept that we haven't implemented yet. For Elixir we can just ship a version of the LV server on device that works locally then just does a datasync.

Re:Swift-erlang-actor-system on Tuesday July 22, 2025 @06:13PM (#44653592)
That's correct, but we can make changes to the views at runtime and these merge into the SwiftUI viewtree. That part has been working for years. As far as how we take the document and convert to SwiftUI views, there is no reflection in Swift or runtime eval. The solution is pretty simple: dictionary. We just have the tag name of an element mapped to the View struct. Same with modifiers.

Older »