Saturday, July 13, 2019

Sonic: A Lightweight, Schema-Less Search

Sonic: A Lightweight, Schema-Less Search @InfoQ

"Sonic is an open source, schema-less search backend promoted as an alternative to full-feature search systems such as Elasticsearch. Sonic can normalize natural language search queries, provide auto-complete, and return the most relevant results for a search query."

Hermes JavaScript engine for React Native on Android.

open source, new javascript engine for React Native from Facebook
to get (much) better runtime performance it is using "Ahead Of Time" instead of "Just In Time"
compiling to byte code representation, an approach typical for "native" mobile apps anyway.

facebook/hermes: Hermes is a small and lightweight JavaScript engine optimized for running React Native on Android. @GitHub

React Native on Twitter: "Today Facebook is open sourcing Hermes, a small and lightweight JavaScript engine optimized for running React Native on Android. We are currently publishing a new patch release for React Native which will contain Hermes as opt-in. https://t.co/YUFCqvTrAV"

Enabling Hermes · React Native

https://hermesengine.dev/

Chain React 2019: Hermes Engine Announcement - YouTube

the key advantage is speed, achieved by doing `Ahead Of Time` compiling to bytecode
instead of typical (for JavaScript) `Just In Time`. This way the size is smaller (faster load) and avoiding a step of compiling before running. Smart. This is typical for other mobile platforms, so it makes sense.

While the presenter claims that Node.js (server side) and browsers are not objectives,
this approach could be used for server side apps and it could be beneficial in particular for ‘serverless’ (cloud functions, i.e. AWS Lambda) deployments, as well as for embedded IoT.
Since V8 JS engine is open source, it could be "forked" to do similar.