frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Is it time for HN to implement a form of captcha?

82•Rooster61•16h ago•116 comments

Tell HN: Get a dying iPhone 12 mini in 2026

9•remywang•5h ago•9 comments

Ask HN: Any Microsoft employees/devs here? What's happening to Microsoft?

102•thehamkercat•2d ago•78 comments

I built an AI agent that deploys a PR to production

2•amouehsan•10h ago•1 comments

Ask HN: Who wants to be hired? (January 2026)

168•whoishiring•6d ago•398 comments

Ask HN: Where is legacy codebase maintenance headed?

5•AnnKey•13h ago•3 comments

Funding Opportunities with Amateur Radio Digital Communications (ARDC)

2•ARDC_73•14h ago•0 comments

Ask HN: How do you use 5–10 minute gaps productively?

43•pea•4d ago•55 comments

Ask HN: How would you decouple from the US?

24•yawa_me_worht•1d ago•10 comments

Ask HN: Who is hiring? (January 2026)

353•whoishiring•6d ago•338 comments

Implementing NaN Boxing in a Stack-Based VM

4•tracyspacy•1d ago•0 comments

Developing a high level language over Zig

2•ziyaadsaqlain•1d ago•2 comments

RevisionDojo, a YC startup, is running astroturfing campaigns targeting kids?

451•red-polygon•3d ago•87 comments

Ask HN: What will you pick as your database of 2026 Yugabyte, TiDB or SurrealDB?

5•marknefedov•12h ago•2 comments

Ask HN: We built an air-gapped document vault with encrypted print and export

3•KevinG777•1d ago•7 comments

Who are the companies that still use Perl in their back end?

6•micorazon•14h ago•5 comments

Ask HN: What's a standard way for apps to request text completion as a service?

5•nvader•3d ago•3 comments

Git analytics that works across GitHub, GitLab, and Bitbucket

3•akhnid•2d ago•1 comments

Ask HN: Reading list for being a better engineer?

45•drekipus•5d ago•16 comments

I made a lofi page for late night work

21•onmyway133•3d ago•9 comments

Ask HN: Is anyone aware of a LinkedIn mirror like xcancel.com for X?

11•danielfalbo•1d ago•8 comments

Amazon Prime AI overviews can't even get the basics right

43•PyWoody•3d ago•13 comments

Ask HN: Anyone else seeing porn images in YouTube ad preview images?

4•OhMeadhbh•1d ago•7 comments

Ask HN: Has anyone else been struggling with search lately?

31•areoform•3d ago•19 comments

Anyone building software for wearable tech?

16•ssc23•3d ago•15 comments

Ask HN: How do you do store-and-forward telemetry at the edge?

4•Aydarbek•1d ago•3 comments

Ask HN: How do small teams make sure recurring tasks don't slip?

7•batels•3d ago•16 comments

Tell HN: I'm having the worst career winter of my life

99•mariogintili•6d ago•127 comments

Ask HN: What did you learn in 2025?

21•kiernanmcgowan•5d ago•8 comments

Ask HN: What's the future of software testing and QA?

23•sjgeek•5d ago•18 comments
Open in hackernews

Developing a high level language over Zig

2•ziyaadsaqlain•1d ago
Hi everyone I saw zig is and intresting language I am learning it and also making a transpilied High level language over it I want some help with developing syntax. in my lang there are three types of var declaration 1) using local keyword this are added in arena of the specific function. 2) using let keyword this are on stack but i am finding solution to make strings easier here. 3) manual memory but my transpiler will automatically use defer keywords so they are safe and delete once block exit 4) using unsafe direct fully manual memory management but still my transpiler will not let compiler till once in code the are freed.

Comments

auxym•18h ago
Just an idea but Nim seems to have the features you mentioned. Nim "transpiles" to C, and can even be compiled via `zig cc` (which is an interace to clang). If you really want to, maybe you could make a zig backend for Nim?
ziyaadsaqlain•18h ago
no one even use nim plus nim dont give inline zig