@github https://t.co/6pNNW4Buuw - my notebook on engineering mechanics through code, mostly around what I'm studying: computational mechanics + simulation.
GitHub Pages is cool ๐
Simulated Hibbeler's crank-slider using analytical, geometric & numerical approaches
Numerical one follows Featherstone-style kinematic tree - each link/joint has its own frame, solved locally & then recursively
https://t.co/df33vpgJ2T
#Simulation#RigidBodyDynamics#Scala
Ported a Hibbler mechanics problem into an interactive simulation. No numerical integration yet, but it's still useful to visualise how external forces reshape constraint/reaction forces & acceleration
Web demo: https://t.co/aDMPT1BjwK
#ComputationalMechanics#RigidBodyDynamics
I'm writing shaders in #Scala and my transpiler converts Scala code to #GLSL. The best thing about this is that, the shader is fully unit-testable in #ScalaTest. It runs on #JVM, #GPU and browse (compiles with Scala.js).
Web demo: https://t.co/fCW4q6pEZ4
Next: compute shaders
A derivation of moment of inertia about an arbitrary axis, resulting in a simple matrix-vector form:
https://t.co/8blzBUVyv4
#EngineeringMechanics#RigidBodyDynamics
It enables:
- Bi-directional transformation (plaintext ๏ฟฝ๏ฟฝ๏ฟฝ AST): Needed for tests/debugging and for future implementation of Ralph code formatting.
- Patch updates for incremental parsing.
I'm looking forward to getting fully shipped! The new parser always produces an AST, even with incomplete/error syntax, so LSP APIs stay active while coding. This release moves go-to-definition over, other APIs will follow #ralph_tooling#alephium#scala
https://t.co/xUkunFjUcW
โจโ๏ธ DevX just got better on $ALPH, Ralph-LSP takes a big step forward!
Ralph-LSP now uses Soft Parser, a new foundation that makes coding smoother and more reliable. Unlike strict parsers that break when code is incomplete, Soft Parser always provides the structure needed for IDE features to work while you type.
This means developers keep access to key tools like navigation and references, even if the code isnโt finished, bringing Alephium development on Ralph closer to the seamless experience found in mainstream programming languages. #DevX #RALPH
Shadows are working! Built with #LWJGL. Compiled with #ScalaJS so it runs on the web #WebGL. Shaders are written in Scala2 and transpiled to GLSL #OpenGL. Web demo: https://t.co/zWW4qy4gVn
Did you catch the latest Ralph LSP update? itโs live in VS Codeโs pre-release channel!
For Ralph VM devs, the Ralph LSP is the background server that brings autocomplete and code-navigation to Ralph smart-contract projects.
Ralph devs - test it and let us know your thoughts on GitHub! ๐
https://t.co/TVLwPlZZ4E
@scala_js Very cool! In my project, it reduced fullOptJS emitted JS from 4.3MB to 4MB for one module, and from 8.5MB to 8.25MB for the other. Awesome optimisation!
@jdegoes@jdegoes how about a "Rust for Scala Developers" course? Not the basics of Rust, but rather a course specifically designed to accelerate learning Rust as a Scala developer.
#Today, SpaceX tested a Raptor rocket engine, fired at a water-cooled "sandwich" of steel plates, designed to protect the launch pad during liftoff and mitigate the rock tornado experienced during Starship's launch on April 20
@Kordyjan 'Scala Next' kinda implies another major migration, but it's good to hear that it's not :)
Is the main focus of 'Scala Next' adding more language features? Based on last year's survey results, hope was that performance, tooling & native support would have been higher priorities.