himujjal

Joined 9 years ago

Karma
148
Submissions
118
Member since
Jul 13
I am a learner and I am learning to code. This site will get me updated to all the coding stuffs!
View on Hacker News

Recent submissions

Comment · 1 month ago
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!

Comment · 3 months ago
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

Comment · 9 months ago
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.

Comment · 9 months ago
You know a better dsl? jquery.
Comment · 11 months ago
I think this is against HN’s policies. @dang
Comment · 2 years ago
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.

Comment · 2 years ago
Neovim user detected!
Comment · 2 years ago
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.

Comment · 2 years ago
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!

Comment · 3 years ago
Comment · 3 years ago
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?

Comment · 3 years ago
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.

Comment · 3 years ago
Did you check their Wiki? Have a nice set of gifs

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton