nynrathod

Joined 4 years ago

Karma
6
Submissions
30
Member since
Jan 3
Doolang creator, Building DooCloud
View on Hacker News

Recent submissions

Comment · 4 months ago
interesting one. Is it only available in mac? as rust can build cross platfrom binary? any plan for other os?
Comment · 4 months ago
So does it calling api for all platfrom and you show all feed on you app? so user can customize what to see?
Comment · 4 months ago
Great product visualization with code
Comment · 4 months ago
Just one suggestion, instead of adding manual won't track the correct mood. What if it tracks auto as per our activity via work, my code, or agent work prompts all? That may result in the correct mood? may be long work but just a thoguth
Comment · 4 months ago
I tried, but honestly, all end with lack of tool or configuration or hardware config. None of them work for me. At end paid apis only providing productivity else free local end with inveting time and less effecient work
Comment · 10 months ago
Comment · 11 months 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.

Comment · 11 months ago
THanks for sharing, will take a look surely, as memroy mgmt will be crucial for doolang. And I can see you are valgrind developer?
Comment · 11 months ago
Interesting will take a look in this point, thanks for sharing

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton