July 9th, 2024

Show HN: I built a WASM-console using WebAssembly and tinygo

An experimental project called "wasm-console" demonstrates WebAssembly technology for console functionalities. Instructions include building steps, file lists, and verification processes. Project emphasizes WebAssembly use.

Read original articleLink Icon
Show HN: I built a WASM-console using WebAssembly and tinygo

The provided URL contains information about an experimental project named "wasm-console." It features a demo showcasing the usage of wasm-console through a GIF. Additionally, the content provides instructions for building the project, including a list of files before and after building, a script for building the wasm component, and a confirmation step to verify the creation of the main.wasm file. The project seems to focus on utilizing WebAssembly technology for console-related functionalities.

Related

What Happens When You Put a Database in the Browser?

What Happens When You Put a Database in the Browser?

WebAssembly (Wasm) enhances browser capabilities, enabling high-performance apps like DuckDB for ad-hoc queries and Python environments. DuckDB Wasm boosts performance in interfaces like lakeFS, Evidence, and Count. MotherDuck enables local querying, emphasizing efficient data processing.

Exposition of Front End Build Systems

Exposition of Front End Build Systems

Frontend build systems are crucial in web development, involving transpilation, bundling, and minification steps. Tools like Babel and Webpack optimize code for performance and developer experience. Various bundlers like Webpack, Rollup, Parcel, esbuild, and Turbopack are compared for features and performance.

Show HN: a Rust lib to trigger actions based on your screen activity (with LLMs)

Show HN: a Rust lib to trigger actions based on your screen activity (with LLMs)

The GitHub project "Screen Pipe" uses Large Language Models to convert screen content into actions. Implemented in Rust + WASM, inspired by `adept.ai`, `rewind.ai`, and `Apple Shortcut`. Open source under MIT license.

Browser that uses ChatGPT to render web like it's 1996

Browser that uses ChatGPT to render web like it's 1996

The GitHub URL showcases "Web98: Fantasy Internet Simulator" by Nate Parrott. It offers a 1996 internet simulation through chatGPT, featuring various themed worlds and utilities. Installation requires Testflight or Xcode. OpenAI API key is essential.

Dynamic Translation of Smalltalk to WebAssembly

Dynamic Translation of Smalltalk to WebAssembly

The article explores Smalltalk code translation to WebAssembly (WASM) within the Catalyst project. It details levels of Smalltalk, JavaScript, and WASM, focusing on direct Smalltalk to WASM optimization. A new translator, WATCompiledMethodTranslator, aids in this process, exemplified by a Smalltalk expression conversion. Creation of a WASM module for Smalltalk methods is explained, highlighting performance advantages and potential future comparisons with dynamic JS translations. Collaboration in the Smalltalk community is encouraged for further advancement.

Link Icon 3 comments
By @williamstein - 5 months
Cool! I also built a WASM console a while ago using Zig, Clang, and slightly modifying various BSD utilities. There is a browser demo at https://cowasm.sh/ , but you could also run it in a terminal and access your local files (similar to what your WASM-console does). Anyways, thanks for sharing your console.
By @skybrian - 5 months
Please don't use animated gifs to demonstrate what your project does. It's hard to read while it's moving. A shell transcript is better.
By @rajatjindal0083 - 5 months
I am the author of wasm-console. happy to answer any questions you may have.