Is there any way to interop with JS in Zig/RS/C/C++?

This page summarizes the projects mentioned and recommended in the original post on /r/Zig

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • mach

    zig game engine & graphics toolkit

  • Still experimental - I haven't had a chance to do a proper write-up, publish this as a standalone repository, or provide examples.. but we have mach/sysjs which is a library that enables calling JS from Zig.

  • vecty

    Vecty lets you build responsive and dynamic web frontends in Go using WebAssembly, competing with modern web frameworks like React & VueJS.

  • It draws on Go's syscall/js library as inspiration, which is pretty powerful (I wrote a pretty popular React-like framework using it a while back.)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • zig-nodejs-example

    Node.js Native Module written in Zig

  • But if you want to interop with server side JS (nodejs) the easiest way would be to write a native add on. Node provides a c api which you can use from zig. Here's an example (not mine).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • go-app V8 release

    3 projects | /r/golang | 25 Mar 2021
  • Wuffs: Wrangling Untrusted File Formats Safely

    6 projects | news.ycombinator.com | 16 May 2024
  • WASM by Example

    16 projects | news.ycombinator.com | 15 Nov 2023
  • Wasify - Easy WASM development for the backend

    1 project | /r/golang | 6 Nov 2023
  • Wazero: Zero dependency WebAssembly runtime written in Go

    12 projects | news.ycombinator.com | 1 Jul 2023