Better HN
topnewbestaskshowjobs
Log inSign up

gr4vityWall

930 karma · joined Mar 5, 2024 (2y ago) · 287 submissions

Submissions

1.

Ceramic 2.2(ceramic-engine.com ↗)

1 points · by gr4vityWall · 2mo ago · discuss

2.

Summer's over: take out your notebooks (or Loreline)(loreline.app ↗)

2 points · by gr4vityWall · 2mo ago · discuss

comment 4mo ago · link · parent

Thanks for the link. Seems like it isn't ready for general usage yet.

comment 5mo ago · link · parent

Wasn't familiar with it, looks interesting.

Some animations are painfully slow, though. After opening a menu[0], it takes a long time to close once you click outside.

How well does it work without JS? I assume that's how the ripple effect is implemented.

[0] - https://www.beercss.com/#:~:text=Menus,-code

Edit: they have documented what works and what doesn't with JS disabled here : https://github.com/beercss/beercss/blob/main/docs/JAVASCRIPT...

That file hasn't been updated in a while. Not sure if nothing has changed since then, or if it's outdated.

comment 5mo ago · link · parent

It seems similar in concept to Haxe, but focused on writing libraries which are then called from the target language, rather than building your whole application in Fusion. Is that correct?

How are exceptions translated to languages which don't have exceptions, like C?

The amount of targets seems impressive, but I don't see anything resembling a standard library. Usually, it's in the standard library where diverging behavior between targets shows up. Haxe's documentation tends to cover those issues, and lets you know when a behavior is target-dependent, or unspecified. They do try to be consistent between targets whenever possible in a performant way.

Loreline[0] is a recent project which leverages Haxe to build a cross-platform library. Is there a similar project showcasing how Fusion can be used for that?

[0] - https://loreline.app/en/docs/

comment 5mo ago · link · parent

There's QuickJS, LLRT, Rhino, and GameMaker is about to get TS/JS support.

comment 5mo ago · link · parent

I remember reading that article some years ago.

Boy, wasn't I surprised when I ran into this PR. I'm excited.

comment 5mo ago · link · parent

Is it possible to merge it, but keep it disabled by default? This could allow users to play with it on Bun while maintaining the expected behavior of JSC.

Maybe a separate build could work too.

9.

Bun has an open PR adding shared-memory threads to JavaScriptCore(github.com ↗)

148 points · by gr4vityWall · 5mo ago · 313 comments

10.

Bun now has official FreeBSD builds(github.com ↗)

3 points · by gr4vityWall · 6mo ago · discuss

comment 7mo ago · link · parent

> This isn't true, but I understand why you feel that way.

By all means, I'd be happy to be proven wrong. Last effort I saw on this direction was node-gui + React. I believe that project isn't being maintained. Being able to use something like Vite to build desktop programs would be a blessing.

comment 7mo ago · link · parent

QML doesn't have a way to define interfaces with JSX and doesn't integrate with the wider JS tooling. From my very limited experience, it still feels too close to the C++ world.

comment 7mo ago · link · parent

I think Qt is only missing well-written, feature-complete bindings for a major JS runtime, including support for hot reload.

Developing UIs without hot reloading is too painful.

comment 8mo ago · link · parent

From what I can tell, they do full page reloads when visiting a different page, and use Preact for building UIs using components. Those components and pages then get rendered on the server as typical template engines.

15.

Google Chrome moving to a two-week Release Cycle, to begin on 8 September(developer.chrome.com ↗)

2 points · by gr4vityWall · 8mo ago · discuss

comment 8mo ago · link · parent

OpenFL should cover your needs pretty well. https://openfl.org

comment 9mo ago · link · parent

I have a 120GB SSD from 2013 that saw typical gaming/workstation usage since it was bought, and it still works fine.

I think repairability is important, but I don't think it will stop those laptops from being popular.

comment 9mo ago · link · parent

Great work. I believe used M1/M2 machines will be favored by young developers as their personal fun laptop in a few years, like the Thinkpad T420 used to be. For different reasons, of course.

Do the M4 and M5 GPUs also change a lot from the M3? I hope it's not too much work to get those going once M3 is usable.

comment 9mo ago · link · parent

> There's an underlying assumption that server-side code is inherently good, performant, and well crafted.

I didn't read it that way. I believe the underlying assumption is that the server-side code won't run in a power-constrained computer, thus having more performance headroom.

comment 9mo ago · link · parent

I'm not a LLM, but you're absolutely right. That conclusion is sound.

comment 9mo ago · link · parent

Haxe has a really elegant solution to this in the form of Abstracts[0][1]. I wonder why this particular feature never became popular in other languages, at least to my knowledge.

0 - https://code.haxe.org/category/abstract-types/color.html

1 - https://haxe.org/manual/types-abstract.html

comment 9mo ago · link · parent

They seem to have a schema solution from their docs: https://docs.modelence.com/stores

comment 9mo ago · link · parent

How does your framework compares to Meteor.js? I see similarities in the problems being solved, and the tech stack being used. Do you have examples of the idiomatic way of client/server communication in Modelence?

I think the line between the framework and the AI code generation tool is blurry.

comment 9mo ago · link · parent

In principle I agree with you. But people seem to like using a game-specific launcher for games like Steam, GOG, Heroic Launcher, Hydra Launcher, etc.

comment 9mo ago · link · parent

Alternatively, work on developing protocols for game launchers instead. Get the Heroic Launcher devs and devs from other launchers to work on a common interface.

comment 9mo ago · link · parent

I appreciate that attitude. Keep it up.

comment 10mo ago · link · parent

Their Github repos seem fairly active, from a quick look: https://github.com/TritonDataCenter

Their website is indeed out of date. Reminds me of Haxe in that aspect. The language itself is receiving significant development, but the website looks abandoned, and no new blog posts have been posted in a while.

comment 10mo ago · link · parent

These days, you're indeed better off using Illumos/SmartOS to run GNU/Linux zones/VMs, rather than native applications, from what I hear.

comment 10mo ago · link · parent

I know someone who runs SmartOS for their home server. They only had good things to say about it. It's been working well for a few years now.
12345
10