slinky
wasmer-python
Our great sponsors
slinky | wasmer-python | |
---|---|---|
15 | 13 | |
642 | 1,955 | |
- | 1.2% | |
6.9 | 6.1 | |
3 days ago | 7 months ago | |
Scala | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
slinky
-
The golden age of Kotlin and its uncertain future
It also benefits from being one of the only full-stack languages.
Scala.js has excellent front-end frameworks like Slinky React [1], Laminar [2] and Scala has industry-leading concurrency libraries like ZIO [3]. I've yet to find anything that comes close for end to end web apps.
[1] https://slinky.dev
-
Faster Scala.js development with front-end tooling and new tutorials
I hope you do a tutorial with Slinky.
-
SCALAJS-React with Azure AD authentication
If you are just starting I would strongly recommend going with Slinky over Scalajs-React as it it's very close to normal Javascript and will make the translation easier.
-
Any good examples of an android app written in Scala?
A few links: * https://medium.com/geekculture/cross-platform-mobile-dev-with-scala-and-capacitor-54e69b62b50c * https://slinky.dev
-
Pleasant to use Scala libraries
Slinky for me is a perfect example of a library.
-
Show HN: Simple games ported to Scala 3 – Try them in the browser
For those interested in Scala.js I would recommend two UI frameworks:
a) Slinky - https://slinky.dev
b) Laminar - https://slinky.dev
-
What are Diode alternatives?
p.s. Slinky is another Scala.js based React wrapper that you might like to explore.
-
Recommended simple static website generator that is well-maintained that plays well with scala(.js) (3) ?
Slinky has an example of their docs being generated using SSR with Scala.js.
-
State of Scala.js frameworks
b) Slinky is by far my favourite React framework. It is simple, well supported and matches up with Javascript so you easily port code. You can use any React UI library you like although my preference right now is Shoelace. I can open source my wrappers if there is interest.
-
Questions about Scala-js!
Slinky shines here because it is pretty similar to writing React in js, you can even export your own components to be consumed from js apps, I consider this the better alternative for onboarding js people.
wasmer-python
-
WebAssembly: byte-code of the future
It's also possible to do this from many other languages. For example rust, ruby, python or from the CLI.
-
WebAssembly: Adding Python Support to WASM Language Runtimes
PyOdide isn't currently supported outside of browsers, though that might change.
Either way, I couldn't figure out how to do the above sequence of steps with any of the available Python WASM runtimes - they're all very under-documented at the moment, sadly. I tried all three of these:
- https://github.com/wasmerio/wasmer-python
- https://github.com/bytecodealliance/wasmtime-py
- https://github.com/wasm3/pywasm3
- Back-end languages are coming to the front-end
-
Running python in a browser (no sever)
Well... not with that attitude.
-
WAGI: WebAssembly Gateway Interface
Not just for web either: if you ship WebAssembly bytecode as part of your python package, you can push your platform dependencies out to a wasm runtime and skip most of the build matrix.
A runtime like wasmer-python [0] is only 1.5MB.
[0]: https://github.com/wasmerio/wasmer-python
- Wasmer Python
- Lona - A web framework for responsive web apps in full python
- What do you guys think of Dominate? Use cases?
- Can you convert python to JavaScript with libraries?
What are some alternatives?
scalajs-react - Facebook's React on Scala.JS
streamlit - Streamlit — A faster way to build and share data apps.
Laminar - Simple, expressive, and safe UI library for Scala.js
reactpy - It's React, but in Python
scala-graal - Make usage of Graal features easy and safe from Scala. Also features Scala-based React SSR.
wagi - Write HTTP handlers in WebAssembly with a minimal amount of work
Scala.js - Scala.js, the Scala to JavaScript compiler
aiohttp-json-rpc - Implements JSON-RPC 2.0 using aiohttp
tyrian - Elm-inspired Scala UI library.
wasi-experimental-http - Experimental outbound HTTP support for WebAssembly and WASI
sri
dominate - Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API. It allows you to write HTML pages in pure Python very concisely, which eliminate the need to learn another template language, and to take advantage of the more powerful features of Python.