---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=bun&tag=c-cpp"
---

# Posts

Filtered by topics: C & C++, source: Bun.

Posts 1–4 of 4, page 1 of 1, newest first.

## 2024-11-05

- [How Bun supports V8 APIs without using V8 (part 2)](https://swe.quest/articles/how-bun-supports-v8-apis-without-using-v8-part-2-d765ff746fe7a86a.md): Bun · 2024-11-05 · Hard · 18 min read · Runtimes & VMs, JavaScript, C & C++, Memory management
  Bun emulates V8's memory layout on top of JavaScriptCore so that precompiled native addons, which inline V8 functions assuming specific pointer layouts, keep working.

## 2024-09-30

- [How Bun supports V8 APIs without using V8 (part 1)](https://swe.quest/articles/how-bun-supports-v8-apis-without-using-v8-part-1-ff8148b61cb465d8.md): Bun · 2024-09-30 · Hard · 19 min read · Runtimes & VMs, C & C++, JavaScript, Memory management
  Bun, which runs on JavaScriptCore, implements a growing subset of V8's C++ embedding API so Node.js native modules like cpu-features load without V8.

## 2024-09-20

- [Bun v1.1.29](https://swe.quest/articles/bun-v1-1-29-a5b176ea3eb640ea.md): Bun · 2024-09-20 · Medium · 3 min read · Runtimes & VMs, JavaScript, C & C++, Performance engineering
  Bun v1.1.29 adds N-API support to its \`cc\` C compilation feature, letting C code return JavaScript strings, objects and arrays, which also works for shared libraries loaded via \`dlopen\` in \`bun:ffi\`.

## 2024-09-18

- [Compile and run C in JavaScript](https://swe.quest/articles/compile-and-run-c-in-javascript-951e10ff9004c507.md): Bun · 2024-09-18 · Medium · 8 min read · JavaScript, C & C++, Runtimes & VMs, Performance engineering
  Bun v1.1.28 adds experimental \`cc\` in \`bun:ffi\`, which uses TinyCC to compile, link and relocate C in memory and generates inline wrappers that convert between JavaScriptCore values and C primitives with no dynamic dispatch.

Same list as RSS: [https://swe.quest/feed.xml?source=bun&tag=c-cpp](https://swe.quest/feed.xml?source=bun&tag=c-cpp). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
