---
title: "5 Things You Might Not Know about Developing Self-Hosted Code"
url: https://daily.dev/posts/5-things-you-might-not-know-about-developing-self-hosted-code-fgdcctofn
source_url: https://spidermonkey.dev/blog/2025/04/23/self-hosted-development.html
type: article
source: "SpiderMonkey"
published: 2025-04-23T20:17:56.138Z
updated: 2025-04-23T20:18:20.224Z
tags: ["javascript", "webassembly"]
reading_time: 3
upvotes: 2
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 5 Things You Might Not Know about Developing Self-Hosted Code

**[SpiderMonkey](https://daily.dev/sources/spidermonkey)** · 3 min read · 2 upvotes · 0 comments

## Summary

Self-hosted code in SpiderMonkey is JavaScript used to implement intrinsic functions, benefiting from just-in-time compilation. Changes require building to take effect. Debugging can be done using dbg(), and specification step comments in the codebase can aid in implementation. The getSelfHostedValue() function helps explore self-hosted functions. Developers can also define their own self-hosted functions for use in JS Shell and XPC shell.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://spidermonkey.dev/blog/2025/04/23/self-hosted-development.html>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#webassembly](https://daily.dev/tags/webassembly)

[View this post on daily.dev](https://daily.dev/posts/5-things-you-might-not-know-about-developing-self-hosted-code-fgdcctofn)
