News for hackers. Stuff that matters.
Re:C64 OS: make a Commodore 64 feel fast and useful by badsectoracula on Friday December 10, 2021 @04:17PM (#29515551)
No but that isn't because of Lazarus itself but because "Netflix/FAANG" doesn't use it as what it does isn't really in their business interests. Lazarus is mainly about making desktop applications. It can do web, etc but it isn't really a focus and you lose most of the visual functionality anyway (yeah ok, you can set up URL routing via the object inspector and connect DB components together, but 99% of the work is done via code anyway so it doesn't provide something better than what you'd find in more popular tools).
Re:C64 OS: make a Commodore 64 feel fast and useful by analognoise on Friday December 10, 2021 @10:49PM (#29518243)
There's a JS transpiler in the works for FreePascal, iirc.
Re:C64 OS: make a Commodore 64 feel fast and useful by badsectoracula on Saturday December 11, 2021 @08:45AM (#29520787)
AFAIK pas2js doesn't fully support the full runtime library yet and i think the language isn't completely implemented. IMO the wasm target will be more interesting and was merged into the main branch earlier this year, though i don't know how usable it is.

Either way those are things that allow you to use Free Pascal code in the web on the client side, but they aren't really "Lazarus" things. Once the full RTL can be used via pas2js or wasm, it could be possible to make a web-based backend for LCL but that would feel kinda alien as you'd essentially be embedding a desktop application inside a web page.

It is also possible to make new form (object) designers for a new type of form (object) that acts more like a Flash page or something like that, but that would require a lot of work. On the other hand it might make making mobile apps better too.

Re:C64 OS: make a Commodore 64 feel fast and useful by Tozen on Saturday December 11, 2021 @12:08AM (#29518605)
Pas2JS already exists in the Free Pascal world. You can make applications with it. https://wiki.freepascal.org/pas2js

Also there are other Pascal to JavaScript transpilers, which use other dialects of Object Pascal, such as DWScript and Smart Pascal.