Present HN: Neptune Lang – A concurrent quick dynamically typed scripting language

Present HN: Neptune Lang – A concurrent quick dynamically typed scripting language

Meet this beautiful item!

Neptune is a dynamically typed scripting language

Documentation
crates.io
Book

Needs

  1. Embeddability: It’d also be embedded in any rust application. Synchronous or asynchronous rust capabilities would maybe maybe per chance also be weak by a neptune script.
  2. Performance: It performs higher than most interpreted(JITless) scripting languages. Scrutinize Benchmarks for a comparison with lua, nodejs and ruby.
  3. Security: It’s unimaginable to blueprint any longer or much less undefined behaviour(together with integer overflow)
  4. Concurrency
    • It’s trivial to jot down asynchronous code
    • An error in a job does no longer repeatedly halt the total application and would maybe maybe per chance also be dealt with gracefully.
    • There are no purpose colors.
  5. Minute implementation

Aspects

  • Iterators
  • String Interpolation
  • Modules
  • Non-compulsory semicolons
  • UTF-8 strings
  • and plenty extra…

Getting Began

The CLI be installed by the repeat given under. Or no longer it is well-known to contain the rust compiler and a C++ compiler. The C++ compiler would maybe maybe per chance also be build using the CXX ambiance variable. Clang is basically helpful for easiest performance.

cargo set up neptune-cli

For the time being the CLI has a pair of total capabilities and a REPL. The REPL supports multiline entries and the next shortcuts.

Disclose Description
Ctrl-L Determined the show conceal
Ctrl-C Interrupt/Abolish editing
Ctrl-D Hand over REPL
Up arrow Previous historical previous entry
Down arrow Next historical previous entry

To embed it in rust you maybe can utilize the library from crates.io.

Todo

  • CLI – Frequent library, exterior modules
  • Preemptiveness?
  • Buffer form

Read More
Part this on knowasiak.com to refer to with of us on this topicRegister on Knowasiak.com now in the occasion you are no longer registered but.

Related Articles

What’s recent in Emacs 28.1?

By Mickey Petersen It’s that time again: there’s a new major version of Emacs and, with it, a treasure trove of new features and changes.Notable features include the formal inclusion of native compilation, a technique that will greatly speed up your Emacs experience.A critical issue surrounding the use of ligatures also fixed; without it, you…

Show HN: Threlte – A Three.js component library for Svelte

A three.js component library for svelte. Index What is threlte? Getting started Concepts Interactivity Viewport Awareness Reactivity Conventions Reference Types Property Types Context Types Components 📋 🌐 Objects 🌐 🌐 🌐 🌐 ♻️ Object Instances ♻️ ♻️ ♻️ ♻️ 🔆 Lights 🔆 🔆 🔆 🔆 🔆 🎥 Cameras 🎥 🎥 🔁 Controls 🔁 💄 Post…

Search info from Coalescing in Async Rust

As the popular saying goes, there are only two hard problems in computer science: caching, off-by-one errors, and getting a Rust job that isn’t cryptocurrency-related. Today, we’ll discuss caching! Or rather, we’ll discuss… “request coalescing”, or “request deduplication”, or “single-flighting” – there’s many names for that concept, which we’ll get into fairly soon. That is,…