6 ms·
Orca: WebAssembly Apps Without the Web
- nota_hacker 2y ago[flagged]
- ShayNehmad 2y agoAnd a big cloud cybersecurity company
- BrianHenryIE 2y agoIt is/was a tool for editing .msi installers for Windows.
- postalrat 2y agoAnd a 2D programming language.
- 0x3444ac53 2y agoLol this was my first thought when I saw it.
- Novosell 2y agoAnd a slicer for 3D printing.
- woctordho 2y ago[flagged]
- djxfade 2y ago[flagged]
- amonith 2y ago[flagged]
- afavour 2y agoI had to dig around to find out what language these apps are written in… it appears to be C. Still interesting though, I’m always fascinated to see what uses come from the WASM sandbox. But I personally won’t be hand crafting UIs in C if I don’t have to.
- rererereferred 2y agoI think it's part of the Handmade community so C is a given, but it runs wasm files so you can probably use whichever language can output wasm.
- pjmlp 2y agoWell, they could at least help to improve the world safety and use Zig instead, which is also part of the community, and at least bring us back to 1978's Modula-2 in terms of safety in systems programming.
- wh33zle 2y agoWASM shouldn't care about which language the host is written in vs what the apps are written in. Writing the host in C seems like a bad choice though. Isn't that exactly the kind of software you want to ensure is memory-safe?
- bvisness 2y agoDesigning the platform APIs around C is generally the right move in our opinion. Of course we want Orca to support multiple languages, but we also want APIs that will bind well to many languages and that will be flexible and performant. Furthermore, WebAssembly today is a great fit for C-like languages, and...less of a great fit for other paradigms. We already have strong WIP bindings for Odin and Zig, and intend for our documentation to strongly feature all three of C, Odin, and Zig when we launch the next major version.
- feverzsj 2y agoIt's weird that Linux is not supported for a cross-platform project.
- khimaros 2y agoit looks like there is some interest and effort in this area https://github.com/orca-app/orca/pull/49 https://github.com/orca-app/orca/pull/49
- deleted 2y ago[deleted]
- bmitc 2y agoQuit naming projects after endangered species. When people search for "orca", they shouldn't be pointed to random software projects but instead research and advocacy groups fighting for orca rights and wellbeing.
- mav3ri3k 2y agoI did not know that Orcas were endangered up until now. Seems like this approach is working for raising awareness.
- zigzag312 2y agoMaybe these projects should add a note to their websites that the project is named after an endangered species. I think that would be a wonderful way of raising awareness.
- deleted 2y ago[deleted]
- spencerflem 2y agoThis was downvoted, and tbf it is a rather niche complaint. But fwiw its something I've been thinking about a bit recently. Naming something, parodying something, etc. all siphon off the legitimacy and good will of the thing they're referencing. Kinda like how Bill Waterson never made Calvin and Hobbes spinoffs, so anyone who experiences C&H does so through the comics first and not ads or shirts or movies. Having those would devalue the comic. Anyways no real conclusion, other than to be mindful of what you crib & to be offended when big marketing firms try to degrade the Mona Lisa into a Coke marketing vessel.
- muzani 2y agoIs it really a niche complaint? I'm getting confused with the minimum effort generic names too. Orca. Fork. Cursor. Apple. Wheat. There's probably thousands of AI projects named Jarvis out there too. At work, we use Localize and Lokalise, two different products that get confused a lot. I liked it when we were at minimum variation. Call it Mega Dolphin or something.
- pjmlp 2y agoJust target the JVM or CLR, enjoy 25 years of ecosystem maturity in libraries, and bytecode instrumentation, and be done with it.
- progfix 2y agoCan you run JVM or CLR apps in the browser?
- pjmlp 2y agoWhere is the browser in "Orca: WebAssembly Apps Without the Web."?
- meiraleal 2y agoWhere is Orca in "Can you run JVM or CLR apps in the browser?" If you don't have an answer you can help us all not replying
- netghost 2y agoWelcome to the future! https://en.wikipedia.org/wiki/Java_applet https://en.wikipedia.org/wiki/Java_applet
- RandomThoughts3 2y agoThis is not Java applet. The browser can already run WASM code natively. This is the JVM but using WASM as bytecode, which is to say it is yet another WASM interpreter but this one provides a runtime with a canvas.
- gbraad 2y agoMust be me, but the page shows nothing now except for an 'empty' page (logo and the statement: "web assembly apps without the web" and top nav "blog", "code", etc. Navigated to https://github.com/orca-app/orca https://github.com/orca-app/orca and at least can see what this is all about. Perhaps something was removed or edited?
- dathinab 2y agoit shows "latest posts" for me maybe they changed it recently or maybe your ad-blocker remove that "news feed" due to classifying it as ad or unwanted noise
- deleted 2y ago[deleted]
- amne 2y agohave we come full circle? are we there yet? where is the "x64-to-wasm" compiler?
- apignotti 2y agoX64 is not yet supported, but we got good results for x86 already: https://webvm.io https://webvm.io
- progbits 2y agoKind of but wasm provides some security properties you don't get from x86/64. I think it's more like a lightweight JVM.
- Muromec 2y agoI would totally compile wasm3 to wasm to support wasm experimental features my wasm host is not supporting because they are experimental. And them app itself will include another copy of wasm3 to support plugins. And plugins will have plugins too. And the will all make asynchronous HTTP calls that don't handle timeouts, never retry and assume all operations making three HTTP calls in a row (to have a cleaner API design) assume they fail atomically. And then I have a cup of coffee enjoying the glow of a nuclear power plant supplying the energy needs of this. And the power plant control interface will also run WASM. And then somebody will do experimental shutdown procedure after the plant was put into operation using this control interface. And that's how I know to celebrate my birthday
- deleted 2y ago[deleted]
- revskill 2y agoIt is still hard to beat typescript on the language level.
- pshirshov 2y agoWe badly need something like this but mature. Cross-platform UI development is a total mess with literally zero solutions ticking all the boxes. If you want to write an app which will target all the major platforms (3 desktops and two mobiles), want a native look and minimal effort for every platform you target, there is nothing apart from QT. And it's a real pain to deal with unmanaged memory. Also, QT is a mess, you cannot define your interfaces declaratively (with QML) and easily interact with them from C++ code, you won't have any typings. So, you either have to go the ancient way of imperative UI definitions or do everything in QML which is total mess. If you drop native look requirement, some small things like https://www.egui.rs/ https://www.egui.rs/ might work for you. If you drop the minimal effort requirement, all the webivew based mess might help you but it won't be easy due to multiple reasons.
- Muromec 2y agoOr just face it -- making a crossplatform app is a work for 30 people and a QA department, not a hobby project.
- JackMorgan 2y agoIn the 1800s we could have faced that ploughing 300 acres would always need 30 horses and 30 strong laborers. Or that 64kB of RAM was plenty enough to make all the software we needed. I would rather always dream big and help invent the future.
- CSSer 2y agoIt’s not that we don’t want to dream. I’m right there with you. The issue with your examples is that they aren’t political but UI design languages are. Imagine if the UN appointed one ambassador to unilaterally represent every Slavic country simply because they all happen to speak similar languages or be located close to one another. The issue lies not with the implementation but the requirements themselves. Each platform has its own design philosophies that either conflict with other platforms or, in some cases, are simply so vague as to be incoherent. Sometimes it even looks like competitive subterfuge.
- Muromec 2y agoAnd it used wasm3, which is maintenance mode according the readme because of reasons. I don't like this timeline. I can't visit home and I can't have typed continuations in a lightweight wasm interpreter either.
- dmkolobov 2y agobecause “[his] house was destroyed by Russians who invaded [his] country”
- deleted 2y ago[deleted]
- dathinab 2y agoThey are currently only targeting desktop but I wonder how would you port something like this to iOS, I don't think iOS let's you run a WASM AOT/JIT or similar on iOS. Would you AOT compile WASM to ARM64 and ship that?
- SirGiggles 2y agoa-Shell [1][2] has WebAssembly (and WASI) support and ships with a compiler that compiles to, you guessed it, Wasm. Though there are limitations on what can be done, such as no sockets, no forks, and etc... [1] https://github.com/holzschu/a-shell https://github.com/holzschu/a-shell [2] https://holzschu.github.io/a-Shell_iOS/ https://holzschu.github.io/a-Shell_iOS/
- dathinab 2y agoI did a bit of research: around 2020 Apples iOS added technical support for JIT, but the chances that your app gets approved are slim you can AOT wasm to a normal dynamic library and ship that various wasm runtimes support an interpreter mode, this slow but might still be fast enough JavaScripCore supports WASM so you can make apple run the WASM for you ... but more or less in a browser sandbox. The app store still has rules forbidding any form of dynamic execution of code which wasn't either shipped with the app or typed by the user independent of technical solution.
- evacchi 2y agointeresting that they are shipping their own libc https://github.com/orca-app/orca/blob/main/src/orca-libc/notes.md https://github.com/orca-app/orca/blob/main/src/orca-libc/not...
- nanomonkey 2y agoSadly this only supports wasm3 (WebAssembly 1.0) and doesn't yet have a Linux installation (Windows and Mac only). So no WasmGC (modern garbage collection included version).