News for hackers. Stuff that matters.

Evan-Almloff

Re:Svelte is that fast on Wednesday October 08, 2025 @04:22PM (#45520172)
> Because WebAssembly modules lack direct access to the DOM, they rely on an additional JavaScript interoperability layer, which can introduce extra overhead.

Blazor is slow for other reasons. You can make wasm web frameworks fast (see leptos and dioxus). It can be as fast as vanilla js. Sledgehammer on this benchmark is wasm: https://krausest.github.io/js-framework-benchmark/2023/table...

Re:Breaking the WASM/JS communication performance barrier on Saturday July 26, 2025 @06:20PM (#44697369)
Most of the optimizations apply equally to calling into webview JS from a native application for something like dom manipulation. There is a wry example that uses the system webview in the repo: https://github.com/ealmloff/sledgehammer_bindgen/blob/master...
Re:Breaking the WASM/JS communication performance barrier on Saturday July 26, 2025 @09:35AM (#44693994)
The two projects have different usecases so they can't be directly compared. Slegehammer bindgen makes calling javascript from rust faster in the browser. Wasmtime is a native runtime for WASM outside of the browser
Re:Dioxus 0.6 – Crossplatform apps with Rust on Wednesday December 11, 2024 @02:49PM (#42392015)
There are several good community component libraries now. daisy rsx is one that is already updated with 0.6 support: https://crates.io/crates/daisy_rsx
Re:Kalosm 0.3: A Rust framework for local AI on Friday August 30, 2024 @10:00AM (#41400805)
Kalosm is a library for pre-trained text, audio and visual models in Rust. It includes support for:

- Whisper for audio transcription

- Llama, phi and mistral models for text generation.

- Structured generation: You can generate text that fits your specific format by deriving a parser automatically with structured generation

- Bert for text embedding and search

The latest release adds support for deriving parsers and json schemas to use with structured text generation, real time audio transcription and a bunch of performance improvements

Re:Dioxus 0.5: Web, Desktop, Mobile Apps in Rust on Thursday March 28, 2024 @09:49PM (#39859712)
It is pretty good. I am working on an application that uses SVGs as a way to draw a workflow editor UI with Dioxus: https://github.com/floneum/floneum
Re:Dioxus 0.5: Web, Desktop, Mobile Apps in Rust on Thursday March 28, 2024 @05:51PM (#39857785)
We have a web components example here: https://github.com/DioxusLabs/dioxus/blob/fd21c971038840130f...

Everything should work like normal except: attributes are not typed, custom event listeners must be implemented with web-sys

Re:Dioxus 0.5: Web, Desktop, Mobile Apps in Rust on Thursday March 28, 2024 @01:07PM (#39854461)
All data you insert into a generational box needs to be allowed to last for the 'static lifetime (have no internal temporary pointers). You cannot insert something like &'a str into a generational box
Re:Dioxus 0.5: Web, Desktop, Mobile Apps in Rust on Thursday March 28, 2024 @12:32PM (#39853879)
Dioxus web compiles to WASM, but we compile to native code for desktop rendering to make it easier to interact with native APIs like the filesystem. We just use the web browser for rendering
Re:Dioxus 0.5: Web, Desktop, Mobile Apps in Rust on Thursday March 28, 2024 @12:31PM (#39853834)
We are copying the reference to the data, not the data itself. The reference to the data lasts for the lifetime of the program. Generational box lets you insert data that last for shorter than the lifetime of the program (as long as that data contains no references). Once you drop the data you inserted, we reuse the box for other allocations.

It uses a very similar approach to a generational arena but with boxes instead of a centralized arena (to avoid locking issues). If you try to access the Copy reference to the data after it has been dropped, it will fail with a nice error message

I would love to integrate llava in the future!
Yes, you can set the source to any local file instead of a huggingface model. Here is a example: https://gist.github.com/ealmloff/3398d172180fa783f043b4a2696...

Show HN: Kalosm an embeddable framework for pre-trained models in Rust

https://floneum.com/blog/kalosm_0_2/

Hi everyone, I'm happy to announce the release of Kalosm! [Kalosm](https://floneum.com/kalosm/) is a framework for embedded AI in rust.## What is Kalosm?Kalosm provides a simple interface for pre-trained language, audio, and image models models. To make it easy to use with these models in your application, Kalosm includes a set of integrations other systems like your database or...

( Read More... | 7 comments | 8 points | on HN )

Show HN: Kalosm – a local first AI meta-framework in Rust

https://github.com/floneum/floneum/tree/master/kalosm

Kalosm is a meta-framework for AI written in Rust. Kalosm supports local quantized large language models like Llama, Mistral, Phi-1.5, and Zephyr. It also supports other quantized models like Wuerstchen, Segment Anything, and Whisper. In addition to local models, Kalosm supports remote models like GPT-4 and ada embeddings.What does Kalosm do?1) Gather context from URLS, RSS feeds, web crawling,...

( Read More... | no comments | on HN )
Floneum is a graph editor for local AI workflows. The project focuses on ease of use and extensibility. The application is a single installer with no external dependencies.

Here are some of the major features in the new release:

- Improved Web Scraping - Reading Website Feeds - Automated Browsing Plugins - Sharing Workflows on the Cloud - Plugin Examples - Rewritten UI in Dioxus! - Package Manger - Floneum CLI - Nightly Builds

If you are interested in the project, consider joining the discord, or building a plugin for Floneum in rust using WASI

Download: https://github.com/floneum/floneum/releases/tag/v0.2.0

Join the discord: https://discord.gg/dQdmhuB8q5

Build a plugin: https://floneum.com/docs/developer/index

Feedback is always appreciated!

Re:Show HN: Floneum, a graph editor for local AI workflows on Thursday July 13, 2023 @11:07AM (#36710377)
There are a bunch of tasks that require some minimal level of language processing/reasoning that people do that are repetitive. I mentioned a few in my previous response:

- Cross referencing your Google calendar with any events discussed on your corporate slack channel to see if they conflict - Watching for any new novels that are about magical worlds by authors that have a terse writing style - Finding classes with teachers that fit best with a specific students needs

Each of these would be difficult to monetize, which is why Floneum is targeted at consumers directly with sharable workflows.

Re:Show HN: Floneum, a graph editor for local AI workflows on Wednesday July 12, 2023 @04:35PM (#36701279)
Absolutely, I would love to integrate other types of models (mentioned at the end of the anointment post)! Stable diffusion and whisper.cpp could be a good place to start

It is a bit different from Flowise because it is focused on end users building workflows instead of companies building on top of Flowise. Because Floneum is focused on non-technical end users, we also have a fully sandboxed plugin system and require no external dependencies like python/npm to get started

Re:Show HN: Floneum, a graph editor for local AI workflows on Wednesday July 12, 2023 @02:30PM (#36699504)
1. I would love to support additional model runners including exLlama and API based models like chat GPT. I'm less familiar with how c transformers and GPTQ compare to llama.cpp. GPTQ used to run faster because it supported GPU acceleration, but now llama.cpp supports the GPU as well so that may have changed. Feel free to open a GitHub issue to discuss this: https://github.com/floneum/floneum/issues/new/choose

2. There are a few differences: a) Floneum doesn't require any setup. No need to install python, cuda, or pop. Just download the executable and run b) It has first class support for quantized local models c) It supports fully issolated WASM plugins (not arbitrary python code)

3. Floneum is fully Open Source!

Re:Show HN: Floneum, a graph editor for local AI workflows on Wednesday July 12, 2023 @02:21PM (#36699337)
Floneum is still early in development, as it becomes more mature I plan to expand the documentation. In the meantime, you can always ask questions on the discord! Getting feedback about what is currently not clear in the documentation is always helpful

Currently, requests are limited to simple GET requests from Floneum to a endpoint. In the future I would like to support more methods that would make implementing this as a plugin possible. WASMtime is still in the process of implementing the stream API, which would make implementing this much easier.

Re:Show HN: Floneum, a graph editor for local AI workflows on Wednesday July 12, 2023 @02:02PM (#36698962)
Currently, I'm hoping to find more developers who are interested in contributing to the project (specifically building plugins).

Once Floneum is more complete, the target users are any non-develper professionals with repetitive tasks. It should serve to automate tasks that are difficult to monetize either because the task itself is too specific to you (like cross refrencing your Google calendar with any events discussed on your corporate slack channel to see if they conflict or watching for any new novels that are about magical worlds by authors that have a terse writing style) or tasks that are too small to pay for by themselves (for example searching a schools class listing and finding the teachers that fit best with a specific students needs). The first example would also benefit from the fact that Floneum runs models entirely locally. (You wouldn't want to send your corporate chat to Open AI)

Show HN: Floneum, a graph editor for local AI workflows

https://floneum.com/blog/anouncing_floneum/

Floneum is a graph editor for local AI workflows. The project focuses on ease of use and community made plugins. The application is a single executable with no dependencies you need to install. You can extend Floneum with WASI plugins that run in a environment that is issolated from your system so that you can use untrusted community plugins without worrying about malware. It uses llamma.cpp to...

( Read More... | 17 comments | 11 points | on HN )