News for hackers. Stuff that matters.

himujjal

Re:Vinix – A modern operating system written in V on Friday September 18, 2026 @07:26AM (#49752796)
Kudos to the efforts. No matter the past. We have an operating system. That is a big news. And that too with a GUI. Is it robust and production ready now? No.

But this is what we should be celebrating. Something that came out of people's efforts and hard work.

Maybe in a few years of iteration it will reach a stage where we can actually use it for simple tasks or even as a remote execution setup.

Always good to have options. Also for a programming language that actually enabled the creation of this OS, that is big news! Great going guys!

This might just be one of those revolutionary moments in the history of consumer software engineering.

Yes, its not native to the OS primitives etc. But with a strong core graphics engine, that's just an abstraction away. You can always create WinUI/SwiftUI like look and feel. The ecosystem is what we need to look out for.

Congratulations on the launch and best of luck. A step forward into removing Electron bloat from the world of desktop apps

Re:Zig Libc on Wednesday February 04, 2026 @01:12AM (#46882108)
I like ZSF and what it stands for.

I don’t like “American” only politics in it. Thats it. In fact I would like zero politics in it. (from anywhere in the world)

Bash the mediocrity in software that we have produced over the years. Slow. Electronbased. Etc.

I can have both the opinions.

Also I will support Andrew Kelley on Mastodon if he says the same.

Separation of Concerns.

Re:Tadpole – A modular and extensible DSL built for web scraping on Wednesday February 04, 2026 @12:46AM (#46881927)
You know a better dsl? jquery.
Re:Zig Libc on Monday February 02, 2026 @09:16PM (#46865528)
I don’t mind someone doing politics stuffs. Heck I am in for privacy and no enterprise model of software. Big Stallman fan here.

But I would really suggest keeping politics out of Zig stuffs.

I don’t even know what ICE is. Just read about it.

This is a show of power.

Like: “I am an American and since I am building the software, I am going to push MY politics into your throat”.

That means, to show similar power, I need to build a software as influential as Zig so that I can push my agendas of my country down your throats.

Heck let me do just that.

Keep politics to politics forums, keep code to code.

Re:Grok 4 Fast now has 2M context window on Sunday November 09, 2025 @06:23AM (#45864772)
I think this is against HN’s policies. @dang
Re:Arena-Based Parsers on Wednesday May 08, 2024 @03:27AM (#40295275)
This. Writing a parser in Zig is so simple. Just allocate once, and then start writing your parser.

One allocator for parser, one for scanner. One for type allocation. Keep them all for semantic analysis. Write the output renderer (binary/language). Deallocate.

In this whole process, it makes it so easy to not think about memory anymore. Just enjoy writing your program.

Neovim user detected!
Re:Redis Re-Implemented with SQLite on Sunday April 14, 2024 @10:21PM (#40036495)
This is state of the art. It will take time before Tigerbeetle themselves release their state machine as a library.

They have done some incredible job. Implementing things I didnt know existed about software/hardware.

Re:Feedle: A search engine for blogs and podcasts on Sunday March 24, 2024 @01:00PM (#39808422)
I dont know if you want to monetize this. But I suggest make it open source.

You will receive tons of improvements and updates. I love this idea!

Re:Nim v2.0 Released on Wednesday August 02, 2023 @10:58AM (#36971790)
Python doesn't work with circular imports. NodeJS does. After using NodeJS for such a long time, I think it is a feature that is taken for granted.

That being said, the Nim team is working on it as per a few issues: [1] https://github.com/nim-lang/rfcs/issues/6 [2] https://forum.nim-lang.org/t/2114

I love the language, and this is probably the only bottleneck for me.

Re:Nim v2.0 Released on Tuesday August 01, 2023 @01:17PM (#36959087)
I loved Nim when I used it first.

But I left it because of recursive imports. I had to basically put all my types into one file and use them from various others. For a relatively medium sized project (~10LOC), its a but of a hassle. Refactoring is an issue.

That being said, the language is fantastic. Can anybody with experience suggest me what HTTP library/framework do they prefer for servers?

Go through Zig’s Async. Its a bit like co-routines but low level. You are required to keep track of memory allocations and pointers to function “frames”. For someone coming from a high-level language POV, frames were a new concept. But Zig does it so superb.

Zig just needs some runtime event loop like Tokio or AsyncIO from Rust to get up and running with its fantastic async model.

Re:Lazygit: Simple terminal UI for Git commands on Wednesday July 19, 2023 @10:02AM (#36786504)
Did you check their Wiki? Have a nice set of gifs
Re:Lazygit: Simple terminal UI for Git commands on Wednesday July 19, 2023 @10:01AM (#36786479)
So, its not just me!
Yeah. This is what people miss. I have always seen Space missions as an investment into the future.
Re:V-analyzer, the new language server for V on Monday July 03, 2023 @06:20PM (#36579559)
Waiting for V to hit 1.0. It is going to be a game changer once everything is up and running at its best.
Re:Revolt: FOSS Discord Alternative on Friday June 23, 2023 @02:02AM (#36443354)
Welcome to Hackernews. Being sour is part of every user here just to spread negativity in the guise of "user feedback". Just ignore those comments and read the positive ones.

This project is really good. Really really good!

Try logging in programming.dev and check your network tab.

You will see the request being sent as a websocket. The lemmy author implemented lemmy so as to see how fast you can get the site working. Inferno, Rust, WebSockets. He probably didnt have expect the scaling issues that come with it.

Anyways, I am happy the site exists. Kudos! Looking towards better implementation in the next release

Re:SvelteKit with Integrated WebSocket Server on Thursday June 01, 2023 @09:57AM (#36151083)
Yeah. This is exactly why I think the meta-frameworks wont really matter in a decade’s time or will disappear.

InertiaJS is an idea/implementation I like and its way of mitigating this issue of meta-framework dependence.

Re:SvelteKit with Integrated WebSocket Server on Thursday June 01, 2023 @06:17AM (#36149307)
The exact problem with SvelteKit, NextJS, NuxtJS etc is the plugin the OP has to create.

Somehow these meta-framework don't make much sense once you go past the basic DB -> REST -> SSR apis. Productivity decline is a guarantee. DX will suck your soul. Svelte is a far enjoyable library/framework than SvelteKit.

They did bring a lot of good things into the world of JavaScript, but I think this architecture will soon be obsolete for regular template (webpages) or simple SPAs (webapps).

That being said, one of the most promising contenders is InertiaJS though. I think something like InertiaJS will come in 2-3 years and make these meta-frameworks obsolete. Why? The DX.

Re:Khan Academy Rewrote their Back end on Saturday May 27, 2023 @02:01PM (#36096774)
A question. Other than basic APIs what do Khan Academy do that is deemed complex from server side POV.

Using GraphQL and all those jargons and all. Would a Rails app (not considering perf) be good enough for the same.

I am asking being curious.

Re:TOML: Tom's Obvious Minimal Language on Monday May 22, 2023 @07:52PM (#36038186)
Hi. I am the author of EKON. I realized YAML was doing too many things. EKON was meant to be an extension of JSON5. Although right now I realise its also doing too many stuffs under the hood.

I should rewrite the project again. But be as simple as possible.

That was my first C project ever during my University. :P

Re:A digital payments revolution in India on Sunday May 21, 2023 @01:41AM (#36018328)
Weird there are even negative comments about UPI. That too from people who haven't lived in pre-UPI era.

My father and my uncle both have had history of losing cash to robbery earlier in the past in broad daylight. Snatch and run. Huge amounts of cash. My wallet has not seen any paper-based cash in over 1-2 years now and I live in a Tier-4 town/city.

The habit of not giving the extra 1-2 rupees of extra change has gone. Now, its the exact amount. Plus no one these days have to loan out payments. You can directly pay the amount quick.

The scale and the way UPI has become such an integral part of Indian lives is such so much valuable that the minor inconveniences (Privacy & customer care) are ignorable.

Re:Windows 11 in Svelte on Friday May 12, 2023 @02:14AM (#35912611)
> The developer experience is night and day with Svelte(kit)

Svelte has a cool DX. Best I have seen. SvelteKit not so much.

Re:Clean Front End Architecture with SvelteKit on Monday April 17, 2023 @07:20AM (#35599197)
Hey Kevin! First of all. I am a regular listener to your podcast! Love it!

Now, I am not specifically targeting SvelteKit to be fair. But the whole host of meta-frameworks like NextJS, NuxtJS etc which Vercel is pushing.

These frameworks in general are too much complexity added. SSR is hard and the best way to handle all of these is to not have a server layer at all. That is just abstract the rendering/routing part and leave the rest of the server stuffs to the user.

I want to simply write my Fastify/Express/Go-gin/Django app. Then add SvelteKit as my front-end with SSR support.

Right now, I first write SvelteKit and then think how am I going to integrate Express and Fastify to it (for a moment let's leave non-node solutions).

Trust me. If you simply leave the server out of SK and generate a simple API abstraction like `res.send(renderSKPath('/users/:id', { serverData }))`. It would have done the job.

I think its difficult to express what I want to say, but in short, remove the server and keep SK as a rendering layer only.

P.S. I know that there is an express adapter for SK. But that is not the point of this comment at all.

Re:Clean Front End Architecture with SvelteKit on Monday April 17, 2023 @06:08AM (#35598766)
I agree with this comment. SvelteKit is unnecessarily complicated. The `+page.svelte` etc are just the start of it.

Plus I can't use it with Go, PHP, Ruby, Rust etc when it comes to SSR (without running multiple servers and handling deployment nightmares).

Something about this whole Node + SSR Front-end is smelly. (next, nuxt, solidstart) I love Svelte as a framework and a way of writing UI, but SvelteKit. Eh! Not so much.

SvelteKit is too much complexity for no reason. Goes opposite of what Svelte was meant to be: Simple and intuitive.

Re:Vercel announces Turbopack, the successor to Webpack on Wednesday October 26, 2022 @02:41PM (#33347647)
Squeezing unnecessary performance for no reason is just stupidity and time wasting at best.

When I say turbopack, I was thinking why the hell would someone need this. Vite is fast enough for everybody. Quite fast indeed. Then there is Parcel which is also quite good and reliable.

I never felt with Vite performance was an issue at all. Everything is so dang fast in my company's website. We are unnecessarily optimizing stuff!

Re:Bun v0.2.0 on Friday October 21, 2022 @07:15AM (#33286793)
Yeah. checked out wasm part. But man. I am not going to go into Nim without cyclic imports.

I was writing a compiler I remember where I hit the 5k LOC mark in Nim. And then the errors and stuff. It was a terrible experience putting all the types into one file, the functions into others etc etc. The DevExp is bad that way.

Other than that, I don't see much issues with Nim to be fair. Its quite a good language that ticks all boxes

Re:Bun v0.2.0 on Friday October 14, 2022 @10:19AM (#33203849)
This is what I have been saying. Amazon makes people work 8-12 hours a day here in India and its not even talked about.

And this is not actually known before joining. At least bun says that outright.

Some people actually don't mind working hard unlike others if things are interesting. Not everyone is the same. There is certainly more fun working on bun out in the open than solving some random bug in Netflix, Amazon without even being noticed. And with forewarned warning.

Older »