frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: The Tsonic Programming Language

https://tsonic.org
19•jeswin•14h ago
You can see some examples here: https://github.com/tsoniclang/proof-is-in-the-pudding

And a hugo clone (which compiles to native code) here: https://github.com/tsoniclang/tsumo

Linux and macOS for now.

Comments

zahlman•1h ago
> Tsonic is a TypeScript to C# compiler

So, not a separate language.

jeswin•1h ago
Well, there are some additions - thought it can be compiled via tsc into js that would never run. This is still useful though for IDE and tooling support, language servers etc.

The most important thing is that you have these types you can import. For example the "int" below:

  import { int } from "@tsonic/core/types.js";
  
  function fibonacci(n: int): int {
  
    if (n <= 1) {
      return n;
    }
  
    return fibonacci(n - 1) + fibonacci(n - 2);
  }
Instead of making it a keyword, I decided to export these from core/types.ts - so that the code can still be compiled with tsc, and all the tooling would still work. Similarly (among others), you'd use ptr<long>, if you wanted a pointer to a long.
throwawaygod•1h ago
Another typescript compiler similar to this: SharpTS[https://news.ycombinator.com/item?id=46557698]
jeswin•59m ago
Wow, I never came across it - thank you.

There are key differences though. What tsonic offers: (0) broad data type support, stack allocated types etc (1) nodejs and js compatibility libs, (2) the availability (in tsonic) of the entire .Net BCL, Asp.Net and EF Core as d.ts files (for example, in @tsonic/dotnet) so that tsc would still run, (3) bindings generator (tsbindgen) for any .net dll etc.

What tsonic is missing: (1) interpreter, (2) compile to .Net IL. Tsonic will only do native code; and does so by converting ts to c# and then using the NativeAOT chain on generated C#. SharpTS is compiling straight to IL (I think), something I considered but decided not to for the time being.

I think these are two different approaches. With pros and cons for both.

There's a ridiculous amount of tech in a disposable vape

https://blog.jgc.org/2026/01/theres-ridiculous-amount-of-tech-in.html
234•abnercoimbre•1d ago•186 comments

1000 Blank White Cards

https://en.wikipedia.org/wiki/1000_Blank_White_Cards
107•eieio•4h ago•19 comments

ASCII Clouds

https://caidan.dev/portfolio/ascii_clouds/
129•majkinetor•5h ago•24 comments

A 40-line fix eliminated a 400x performance gap

https://questdb.com/blog/jvm-current-thread-user-time/
234•bluestreak•8h ago•46 comments

Every GitHub object has two IDs

https://www.greptile.com/blog/github-ids
201•dakshgupta•15h ago•49 comments

The Gleam Programming Language

https://gleam.run/
79•Alupis•4h ago•24 comments

Show HN: OSS AI agent that indexes and searches the Epstein files

https://epstein.trynia.ai/
62•jellyotsiro•5h ago•17 comments

Show HN: 1D-Pong Game at 39C3

https://github.com/ogermer/1d-pong
15•oger•2d ago•1 comments

The $LANG Programming Language

165•dang•7h ago•30 comments

vLLM large scale serving: DeepSeek 2.2k tok/s/h200 with wide-ep

https://blog.vllm.ai/2025/12/17/large-scale-serving.html
91•robertnishihara•15h ago•7 comments

Show HN: Cachekit – High performance caching policies library in Rust

https://github.com/OxidizeLabs/cachekit
30•failsafe•5h ago•3 comments

The truth behind the 2026 J.P. Morgan Healthcare Conference

https://www.owlposting.com/p/the-truth-behind-the-2026-jp-morgan
189•abhishaike•13h ago•36 comments

Stop using natural language interfaces

https://tidepool.leaflet.pub/3mcbegnuf2k2i
55•steveklabnik•5h ago•10 comments

No management needed: anti-patterns in early-stage engineering teams

https://www.ablg.io/blog/no-management-needed
149•tonioab•12h ago•169 comments

The Emacs Widget Library: A Critique and Case Study

https://www.d12frosted.io/posts/2025-11-26-emacs-widget-library
52•whacked_new•2d ago•10 comments

Show HN: The Tsonic Programming Language

https://tsonic.org
19•jeswin•14h ago•4 comments

Are two heads better than one?

https://eieio.games/blog/two-heads-arent-better-than-one/
155•evakhoury•15h ago•48 comments

Sei (YC W22) Is Hiring a DevOps Engineer (India/In-Office/Chennai/Gurgaon)

https://www.ycombinator.com/companies/sei/jobs/Rn0KPXR-devops-platform-ai-infrastructure-engineer
1•ramkumarvenkat•6h ago

The Tulip Creative Computer

https://github.com/shorepine/tulipcc
212•apitman•14h ago•49 comments

AI generated music barred from Bandcamp

https://old.reddit.com/r/BandCamp/comments/1qbw8ba/ai_generated_music_on_bandcamp/
725•cdrnsf•13h ago•513 comments

Handling secrets (somewhat) securely in shells

https://linus.schreibt.jetzt/posts/shell-secrets.html
45•todsacerdoti•4d ago•21 comments

Exa-d: How to store the web in S3

https://exa.ai/blog/exa-d
27•willbryk•6h ago•1 comments

How to make a damn website (2024)

https://lmnt.me/blog/how-to-make-a-damn-website.html
182•birdculture•14h ago•56 comments

Agonist-Antagonist Myoneural Interface

https://www.media.mit.edu/projects/agonist-antagonist-myoneural-interface-ami/overview/
54•kaycebasques•5d ago•3 comments

Scott Adams has died

https://www.youtube.com/watch?v=Rs_JrOIo3SE
897•ekianjo•16h ago•1407 comments

Why we built our own background agent

https://builders.ramp.com/post/why-we-built-our-background-agent
89•jrsj•1d ago•12 comments

April 9, 1940 a Dish Best Served Cold

https://todayinhistory.blog/2021/04/09/april-9-1940-a-dish-best-served-cold/
15•vinnyglennon•4d ago•2 comments

When hardware goes end-of-life, companies need to open-source the software

https://www.marcia.no/words/eol
270•Marciplan•8h ago•83 comments

Show HN: Nogic – VS Code extension that visualizes your codebase as a graph

https://marketplace.visualstudio.com/items?itemName=Nogic.nogic
103•davelradindra•12h ago•37 comments

We can't have nice things because of AI scrapers

https://blog.metabrainz.org/2025/12/11/we-cant-have-nice-things-because-of-ai-scrapers/
373•LorenDB•9h ago•198 comments