HackerTrans
TopNewTrendsCommentsPastAskShowJobs

gr4vityWall

930 karmajoined 2 года назад

Submissions

[untitled]

1 points·by gr4vityWall·5 дней назад·0 comments

Bun has an open PR adding shared-memory threads to JavaScriptCore

github.com
148 points·by gr4vityWall·21 день назад·313 comments

Bun now has official FreeBSD builds

github.com
3 points·by gr4vityWall·2 месяца назад·0 comments

Google Chrome moving to a two-week Release Cycle, to begin on 8 September

developer.chrome.com
2 points·by gr4vityWall·4 месяца назад·0 comments

PureDarwin project leader Cliff Sekel has passed away

puredarwin.org
4 points·by gr4vityWall·6 месяцев назад·0 comments

comments

gr4vityWall
·12 дней назад·discuss
Thanks for the link. Seems like it isn't ready for general usage yet.
gr4vityWall
·15 дней назад·discuss
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.
gr4vityWall
·15 дней назад·discuss
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/
gr4vityWall
·20 дней назад·discuss
There's QuickJS, LLRT, Rhino, and GameMaker is about to get TS/JS support.
gr4vityWall
·21 день назад·discuss
I remember reading that article some years ago.

Boy, wasn't I surprised when I ran into this PR. I'm excited.
gr4vityWall
·21 день назад·discuss
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.
gr4vityWall
·3 месяца назад·discuss
> 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.
gr4vityWall
·3 месяца назад·discuss
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.
gr4vityWall
·3 месяца назад·discuss
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.
gr4vityWall
·4 месяца назад·discuss
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.
gr4vityWall
·4 месяца назад·discuss
OpenFL should cover your needs pretty well. https://openfl.org
gr4vityWall
·5 месяцев назад·discuss
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.
gr4vityWall
·5 месяцев назад·discuss
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.
gr4vityWall
·5 месяцев назад·discuss
> 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.
gr4vityWall
·5 месяцев назад·discuss
I'm not a LLM, but you're absolutely right. That conclusion is sound.
gr4vityWall
·5 месяцев назад·discuss
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
gr4vityWall
·5 месяцев назад·discuss
They seem to have a schema solution from their docs: https://docs.modelence.com/stores
gr4vityWall
·5 месяцев назад·discuss
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.
gr4vityWall
·5 месяцев назад·discuss
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.
gr4vityWall
·5 месяцев назад·discuss
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.