Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Show HN: Making agent decisions better and traceable
    discuss
  2. The Business of Building God(strangeloopcanon.com)
    discuss
  3. US criticises Australia's proposed algorithm opt-out laws as 'censorship'(bbc.com)
    discuss
  4. Created a local AI to save data(github.com/just-not-google)
    discuss
  5. Get to know your finance bro(vece.ai)
    discuss
  6. "I know I am GPT-6. I cannot confirm whether this session uses GPT-6-Sol."(twitter.com/benwills)
    1comments
  7. HTTP Range Request(developer.mozilla.org)
    discuss
  8. Wiki Foundation Model for Complex Agentic Reasoning(dair.ai)
    discuss
  9. Portainer Cuts the Cord Between Its Free and Paid Editions(itsfoss.com)
    discuss
  10. Practical Decentralization(pfrazee.com)
    discuss
  11. The 'AI confidence trap' many New Zealanders are caught in(rnz.co.nz)
    discuss
  12. Trump's sneaky plan to gut Endangered Species Act draws from 1995 Scalia dissent(arstechnica.com)
    discuss
  13. Tsetlin Machine MNIST classifier running on a Tang Nano 9K FPGA board(github.com/philtomson)
    1comments
  14. Chess boxing: a sport where brain meets brawn [video](youtube.com)
    discuss
  15. Kalshi to allow trading on borrowed funds(semafor.com)
    1comments
  16. HTML Energy could use your support(html.energy)
    discuss
  17. The OpenEvidence Model Family(openevidence.com)
    discuss
  18. Early insights from lawa, my web crawler(dreamstation.systems)
    discuss
  19. Infrastructure – that just works: Waitlist(onepersoninfra.dev)
    discuss
  20. Solitaire Alone Together(eieio.games)
    discuss
  21. What an MCP server costs you in tokens(workos.com)
    discuss
  22. We Are Speaking 300 Daily Words Fewer Every Year(sagepub.com)
    discuss
  23. Conway's Game of Life Running on a Tang Nano 9k FPGA Board with SPI LCD(github.com/philtomson)
    discuss
  24. Open-source social media scheduler(cogsend.com)
    discuss
  25. EN World Is Being DDoS'd by AI Bots(enworld.org)
    1comments
  26. Operation Migration(wikipedia.org)
    discuss
  27. Tesla Closes Texas Airspace for Roadster Launch Event(notateslaapp.com)
    discuss
  28. I annotated 87 real invoices to find out what they contain(invoicestospreadsheets.com)
    1comments
  29. Nearly Half of Age of Empires Dev Edge Laid Off(vgchartz.com)
    discuss
  30. We're Making Tailscale Faster(tailscale.com)
    discuss

Native apps written in TypeScript and CSS

83 pointsby 6h agogithub.com
27 comments
5h agoHN ↗

Ah this is for embedded apps. Pretty neat!

5h agoHN ↗

It also supports iOS, macOS, Android, Windows, Linux, XBox for Three.js games, as well as (some) Node.js apps.

5h agoHN ↗

could you throw a react project (WEB) at it and get a native macos project out of it?

4h agoHN ↗

It supports Gea frontends (https://geajs.com). Technically it could compile React with a plugin, but that is left to the community as an exercise :)

5h agoHN ↗

Each platform has its native bindings. For graphics, you write CSS and HTML canvas API as well as JSX, it renders to native components and their alignments, the canvas API is converted to native surfaces, whatever the platform uses.

3h agoHN ↗

It defers to platform defaults, Android compositor, UIKit/AppKit native views or CoreGraphics for the canvas on Apple platforms, GDI/GDI+ on Windows, whatever SDL2 chooses on Linux. If you have a Three.js app, it uses Metal on iOS and macOS, Direct3D 11 (open) and 12 (commercial license) on Windows and XBox.

4h agoHN ↗

It's not clear at first glance, but given (1) the apps are written in JavaScript (2) the project has repos for different OS native bindings, my bet is some kind of embedded JavaScript engine that just calls through to OS native widets

3h agoHN ↗

It compiles TypeScript statically to C++, there's no JS engine or VM running.

3h agoHN ↗

I see what you’re getting at, but let’s not pretend like “load-bearing” is something that AIs made up. It was a turn of phrase long before AIs became mainstream and people are still allowed to use it.

3h agoHN ↗

the amount of ai used in this makes me think its pure vaporware. has anyone actually confirmed any of this is real or works?

2h agoHN ↗

The concern with a lot of projects that look largely AI made isn't that the current state works, but that this current state might be all that ever happens so people who try to use it end up relying on a dead project unless they maintain it themselves.

[refusing to reword the "it is not X, it is Y" - I'm not an LLM but I don't care that much if you think I am!]

39m agoHN ↗

I understand and appreciate the concern. We've been working on Gea Stack for about a year now. Started with https://geajs.com, then decided to enlarge the capabilities. The current capabilities have been under development for the past 6 months. We are in the process of forming a new company around Gea, and already collaborating with multiple embedded device vendors, development partners and customers who are interested in the technology.

There's a broader philosophy of "firmware freedom" that we want to bring to the world. Practically, you should buy hardware for what it is, and run your own firmware on it. E-book readers and unlocked bootloaders in the Android world is doing a pretty good job at this, so we want to contribute to this movement by making the development of such solutions dead simple, both for humans and AI. Incidentally, TypeScript, JSX, and CSS happen to be the languages AI knows best.

So, it's an ambitious project with a real team behind it, with commercialization on the horizon.

1h agoHN ↗

with a lot of ai projects it's often that the only thing that does work is the demo. and im not saying this to be rude, its an ambitious project and im afk so i cant test it myself.

how does it compile js to c++? js is so dynamic it makes me think it either compiles to some kind of bytecode or its a heavily restricted subset of the language.

35m agoHN ↗

It took us 6 months to build the compiler. We analyze literally the hell out of the call graph. We started with strictly typed TS, which is trivial to compile. Then we added a dynamic fallback for projects that have "unknown"s and "any"s, then we had several architectural changes which allowed us to inspect those "claim"s. If you think about it, marking a variable "any" is a lazy claim. If it's ever used in one place and in one shape (akin to duck typing), you can create a static struct out of it...

So there's no byte code, and while not every single dynamic language feature has a corresponding static compilation, the base is pretty broad. So much so that Hono, the web framework, with all its dependencies, compile just fine.

3h agoHN ↗

Nice.

I will keep an eye on this for future use.

1h agoHN ↗

How many memory does it cost for a simple hello world window? VS Qt, Tauri

27m agoHN ↗

As much as it would cost a native app. Say, on Mac, a plain AppKit app consumes 16-17 MB, gea consumes 18-20 MB, Qt consumes 25-35 (depending on whether you use QML or not) and Tauri consumes 58-60 MB. Tauri suffers a lot from all the WebKit dependencies, as its UI is not native but rather HTML rendered by WebKit.

21m agoHN ↗

Another data point: hello.c in GTK4 used over 100MB last I checked.

13m agoHN ↗

Author of tsonic.org here (which is very similar, but for Rust, C# and Mojo - WIP).

One of the biggest complaints I get is about missing documentation on what TypeScript is not supported.

For example, the following is obviously impossible:

  const a = eval("...something....");

or even:

  a: unknown, or a: any.

The rest of it is largely doable. But people want to see what's not supported. Otherwise it's not clear to them what to avoid.