Struggling with deno FFI due lack of documentation/examples

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

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
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
  • mysql-native

    Fastest JavaScript client for MySQL, with Deno FFI.

  • I'm trying to add missing bind params feature in https://github.com/denodrivers/mysql-native, but I can't find any examples/documentation how to define complex structs in Deno FFI. libysqlclient function mysql_stmt_bind_param() requires parameter MYSQL_BIND struct. how would one define it in parameters in Deno.dlopen()? Any pointers/help would be appreciated.

  • deno

    A modern runtime for JavaScript and TypeScript.

  • For struct passing the situation is such that Demo does not yet have support for passing structs by value. A PR is open and very close to being merged but struct passing is complex and it's not even fully clear if the libffi crate being used to implement FFI calls internally has all the things related to struct passing implemented correctly. The PR is here if you're interested: https://github.com/denoland/deno/pull/15060

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • deno-ffigen

    FFI bindings generation for Deno

  • Check out deno-ffigen. I was able to generate sqlite, lua and llvm-c binding using it.

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

  • Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?

    4 projects | dev.to | 2 Apr 2024
  • How QUIC is displacing TCP for speed

    1 project | news.ycombinator.com | 9 Feb 2024
  • Deno in 2023

    8 projects | news.ycombinator.com | 5 Feb 2024
  • Deno, the next-generation JavaScript runtime

    1 project | news.ycombinator.com | 11 Jan 2024
  • use rustls-tokio-stream instead of tokio-rustls did not fix Using self-signed certs with TLS WebSockets causes "No response from ping frame." error event after a short period connectivity

    1 project | /r/Deno | 9 Nov 2023