frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Doo – 0.2.0 Alpha Release

https://github.com/nynrathod/doolang
2•nynrathod•4h ago

Comments

nynrathod•4h ago
Doo is a statically-typed, compiled programming language built in Rust + LLVM, designed for building production ready APIs quickly.

0.2.0 Alpha is the biggest update so far. It adds the core foundation for built-in methods, a stronger std library, file I/O, improved modules, error handling, enums, match, array features, map improvements, JSON support, and more.

Highlights

Built-in methods

- Array: len, push, pop, contains, first, last, reverse, isEmpty, clear, sort, slice, indexOf, map, filter, reduce, join - Map: has, remove, isEmpty, size, clear, keys, values - String: len, charAt, subString, toUpper, toLower, contains, startsWith, endsWith, trim, reverse, indexOf, replace, repeat, concat, charCode, countSubstr

Std library

- Array utils: Unique, Range, Sum, Average, MinArr, MaxArr - Math: Abs, Pow, Sqrt, Min, Max, Floor, Ceil, Round - File: Read, Write, Append, Exists, Delete, Size, MkDir, Metadata, ListDir, Copy, Move, ReadLines, RmDir, RmDirAll

Modules & language features

- Imports (namespace, wildcard, alias, inline) - Functions with tuple return, struct + JSON support - Error handling (T!E, ? operator, propagation, custom errors) - Structs with methods, nested structs, shorthand, enums inside structs - Enum types (scoped + inline) - match on primitives, struct, enum, nested match - JSON parse/stringify - Lambda + chained array methods - Inline if/else, ternary in expressions - Array spread, ranges ([...arr], [1..4], [1..=4]) - Improved map iteration - typeOf, cast operators, ++/-- - UTF-8 print

Examples folder => https://github.com/nynrathod/doolang/tree/main/examples

The goal is to keep Doo simple but practical: something you can use to build real APIs or tools quickly without a huge language surface or runtime complexity.

If anyone here enjoys language design, I'd love feedback. It's still early alpha, and I'm very open to feedback. If anything feels weird, confusing, too limited, or too magical, please tell me, I want to shape this based on real developer expectations, not just my preferences.

Language constructs for message handling in decentralized programs

https://dl.acm.org/doi/10.1145/1408800.1408845
1•andsoitis•1m ago•0 comments

AI Stole My Life Back from Rock Bottom

https://sahz179167.substack.com/publish/post/180945523
1•saadalem•3m ago•1 comments

X terminates EU commission's ad account for exploiting

https://twitter.com/nikitabier/status/1997450541275005041
1•miohtama•5m ago•0 comments

Dhrystone Benchmark. History, Analysis, "Scores" and Recommendations (2002)[pdf]

https://www.eembc.org/techlit/datasheets/dhrystone_wp.pdf
1•nynyny7•7m ago•0 comments

Show HN: HashSmith – High-performance open-addressing hash tables for Java

https://github.com/bluuewhale/HashSmith
1•koko8624•9m ago•0 comments

C64 Maze Chomp.BAS

https://basic-code.bearblog.dev/c64-maze-chompbas/
1•ibobev•9m ago•0 comments

Does anyone know why syncthing-fork is no longer available on GitHub?

https://forum.syncthing.net/t/does-anyone-know-why-syncthing-fork-is-no-longer-available-on-githu...
1•_____k•11m ago•0 comments

MyTerms a New Era Begins

https://doc.searls.com/2025/11/24/a-new-era-begins/
1•hkhn•15m ago•0 comments

Does AI-Assisted Coding Deliver? A Difference-in-Differences Study

https://arxiv.org/abs/2511.04427
1•adrianhoward•16m ago•0 comments

Syncthing-Android – Status

https://github.com/researchxxl/syncthing-android/issues/16
1•_____k•17m ago•0 comments

AI Structural Redesign Proven on Gemini/Copilot (Master's Report)

1•korea_koh•17m ago•0 comments

Hayao Miyazaki: 9 Creative Lessons

https://www.readtrung.com/p/hayao-miyazaki-9-creative-lessons
1•Anon84•19m ago•0 comments

Why Were Hyperlinks Chosen to Be Blue?

https://www.newspointapp.com/english/tech/why-were-hyperlinks-chosen-to-be-blue/articleshow/10087...
1•thunderbong•22m ago•0 comments

The Forge Calculator

https://theforgecalculators.com/
1•quchao•22m ago•2 comments

X deletes EU Commission advertising account after fine

https://en.ilsole24ore.com/art/x-delete-advertising-account-eu-commission-fine-AIhnZ5H
1•amarcheschi•23m ago•1 comments

Ask HN: What's the best book you read in the last year?

1•fdw•26m ago•1 comments

Show HN: Not-so-Secret-Santa, for convoluted and explicit secret Santa rings

http://santa.pistolas.co.uk/
1•savgore•34m ago•0 comments

YouTube does not apply GenAI filters to videos

https://twitter.com/YouTubeInsider/status/1958199532363317467
1•xnx•35m ago•1 comments

What Is Important?

1•hafanis•38m ago•0 comments

Faith and Reform: is the religious right on the rise in UK politics?

https://www.theguardian.com/politics/2025/dec/07/is-the-religious-right-on-the-rise-in-uk-politics
1•beardyw•40m ago•1 comments

The Binding Problem

https://maxhodak.com/nonfiction/2025/12/05/the-binding-problem
1•0x79de•42m ago•0 comments

UK tax system steers anyone living off capital to becoming an eccentric laird

https://thetontineengine.substack.com/p/gilts-dividends-and-a-shed-full-of
3•rwmj•43m ago•0 comments

Show HN: Tikpal- Your AI Voice Partner – Focus, Flow, Forge

https://tikpal.ai
1•bingbing123•44m ago•0 comments

Pouring Packages with Homebrew

https://lwn.net/Articles/1046236/
3•pykello•46m ago•0 comments

The Hum of the Machine

https://registerspill.thorstenball.com/p/the-hum-of-the-machine
2•goranmoomin•46m ago•0 comments

The Bernoulli Manifesto

http://luschny.de/math/zeta/The-Bernoulli-Manifesto.html
1•bkudria•46m ago•0 comments

Show HN: Secache – Sampling Eviction Cache

https://pkg.go.dev/github.com/Snawoot/secache
1•Snawoot•48m ago•0 comments

Into the Inferno review – Werner Herzog peers into the depths of the volcano

https://www.theguardian.com/film/2016/oct/21/into-the-inferno-review-werner-herzog-peers-into-the...
1•andsoitis•50m ago•0 comments

Have You Accepted AI Yet?

https://softwaremaniacs.org/blog/2025/12/05/have-you-accepted-ai-yet/
1•tectiv3•52m ago•0 comments

Building Browser Agents: Architecture, Security, and Practical Solutions

https://arxiv.org/abs/2511.19477
1•aramvr•53m ago•1 comments