On the fringe of Node.js and .NET with Edge.js
summary
Edge.js lets Node and .NET interoperate in-process so Node can run .NET inside Node process and call assemblies directly, including async Task methods, rather than using separate services. It marshals arguments and returns by converting JS objects to CLR types and exposing JS functions as delegates — marshal JS objects to CLR types. The library targets Windows and Mono/OSX/Linux runtimes, cuts cross-process overhead (presenter claims 2x faster than IPC), and ships examples that load assemblies and return results successfully.
AI-written summary · about
chapters (10)
- 0:00Introduction to hybrid frameworks
- 3:13Advantages of .NET framework
- 5:07JavaScript and .NET integration
- 8:25Edge.js architecture and limitations
- 12:23Performance comparison and benchmarks
- 15:17Garbage collection and memory management
- 18:12JavaScript proxies and callbacks
- 21:47Communication Foundation for services
- 24:02Real-world hybrid application examples
- 27:39Summary and closing remarks
