New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bun's Roadmap #159
Comments
this seems like a lot of work... wow |
Can't wait for full npm-like config support. We are using our own npm registry, and the current build time is 40-60 minutes. If it will be at least 10 minutes this will be a game-changer! |
I am waiting for the stable version of the bun. What change bun in the javascript world. |
Also waiting for the stable version. So exciting! I bet it's going to take a lot of time though. The scope of this project is much larger than what Node attempts to solve. |
can someone confirm that right now I can't use the package |
still missing websocket server support |
Can a tinitiny docker image be placed somewhere in there? 👀 |
Can't wait for Windows support... I'll be anxiously awaiting it until it's out. 😅 |
Dito |
Are you planning to support http2? |
HTTP/3 is on #159 so I would say HTTP/2 will likely be added before that |
I would say that http3 on roadmap is more about quic protocol and there is no straight inheritance between http3 and http2, so maybe support of http2 needs to be marked explicitly. |
Motivated to see a stable version ASAP |
Promising ! |
When is the support for windows coming? Cant wait for it. |
Another vote for HTTP/2 as it's a prerequisite to gRPC support. |
Any plans to create a desktop app like electron? |
#43 you can use WSL for now |
SolidJS uses JSX, Bun could support that... |
Is already supported |
Considering I use this page as a way to keep up with Bun progress, would be nice if this issue got more attention from the main team. |
Any plans around |
Any plans about official Bun Github Action |
cluster, http2 🤔 |
|
Import maps https://github.com/WICG/import-maps |
Hi! is there any movement on the css loading front? |
I've just tried to run $ bunx --bun storybook dev
error: zlib.createBrotliDecompress is not implemented
at node:zlib:2269:65
at node_modules/@storybook/core-server/dist/presets/common-preset.js:12:32306
at node:http:887:29 Will this be part of this roadmap at some point? |
When can we have CSS/SCSS parser feature? |
Looking forward to the CSS parser too |
Bump... really need this, game changer |
based on @Jarred-Sumner's answer here, where does Telemetry fit into the current roadmap? |
Please Fix this Bug ASAP |
Jarred has already said the bug will be fixed a little bit after v1.1 is finished. The development team is currently working on the Windows release. |
Would love to help support work on #2704 as part of the Developer Experience roadmap |
Thanks, #Bun for being a fast and easy-to-use JavaScript runtime! I appreciate your speed and compatibility with existing Node.js projects. |
How do I use bun with nest Js?
…On Sun, Apr 7, 2024, 11:37 Kamlesh Singh ***@***.***> wrote:
Thanks, #*Bun* for being a *fast and easy-to-use JavaScript runtime!* I
appreciate your *speed* and *compatibility* with existing Node.js
projects.
—
Reply to this email directly, view it on GitHub
<#159 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMSQ2BBSOUANCQDOZVQV4O3Y4EOW3AVCNFSM5VJJFLM2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBUGE2DCNRRHE4A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
+1 for TextDecoderStream
|
Is NextJS fully supported? |
@001123 Do you use "Pages Router" or "App Router" ? |
I'm just test on "Pages router" |
this has not been updated post Bun 1.0, we will update it soon.
This tracks the current near-term plans for Bun.
Edge bundling
With bundle-time functions, static analysis goes dynamic. Objects returned by functions executed at bundle-time are injected into the AST. This makes dead-code elimination work a lot better.
I expect this to spawn a new generation of bundle-time JavaScript frameworks.
But first, a lot more needs to be built.
Main blockers
JavaScript minifier
"sideEffects"
from package.jsonWeb Bundler (production-focused, instead of development-focused)):
const
TypeScript enum supportCSS parser:
Bun.Transpiler
support for CSS<style jsx>
supportOnce complete, the next step is integration with the HTTP server and other Bun APIs
Efficient bundling format
Cache builds into a binary archive format with metadata designed for fast random access,
splice()
, andsendfile()
support. Outside of the edge runtime, these will work as a single-file JavaScript executable internally holding many files.Instances of Bun will need to know what bundle(s) they're serving. From there, instead of going through a filesystem, we can serve static requests directly from the bundle and dynamic requests will bundle on-demand, potentially importing code from statically-bundled code.
Bundle
API (not finalized yet)Bundle.prototype.resolve(path): string
APIBundle.prototype.build(entryPoint, context): Response
APIBundle.prototype.generate(entryPoints, options): Promise<Bundle>
APIJSNode
AST APIBundle
Server-side rendering
Bundle
,JSNode
, and other Bun APIsRuntime
.vue
,.svelte
,.scss
imports and more.onLoad
API in bun.jsonResolve
API in bun.jsbunfig.toml
onLoad
plugins from native librariesonResolve
plugins from native librarieshttps:
andhttp:
imports. This includes a disk cache possibly integrated into the bundling format.data:
importsblob:
imports & URLs (URL.createObjectURL
,URL.revokeObjectURL
)Edge Runtime
Slimmer, linux-only build of bun.js:
bun install
Usability & Developer Experience
bun
REPL with transpiler-enabled support for async/await, typescript and ES Modules (those are not supported byeval
usually)npx
@types/bun
npm packageEcosystem
Web Compatibility
Web Streams
fetch
Request
Response
Blob
Bun.serve
(HTTP server)HTMLRewriter
TextEncoderStream
TextDecoderStream
CompressionStream
DecompressionStream
FormData
fetch
Web Worker
supportpostMessage
from WebKitBroadcastChannel
from WebKitMessageChannel
from WebKitstructuredClone
from WebKitImport WebCrypto implementation from WebKit/Safari into bun.js
Support
OffscreenCanvas
API,ImageBitmap
for 2D graphics. This may use WebKit's implementation or it might use Skianote: after a little testing, performance of safari's web streams implementation is similar to deno and much faster than node 18. I expect the final result to be faster than deno because bun's TextEncoder/TextDecoder & Blob implementation seems generally faster than safari's
Security
fetch
. Right now, it doesn't.Windows support
Node.js Compatibility
child_process
support"fs"
"net"
module"crypto"
polyfill should use hardware-accelerated crypto for better performance"buffer"
implementationrequire
implementation that natively supports ESM (rather than via transpiler). This would involve subclassingAbstractModuleRecord
in JSC. This would better support lazy-loading CommonJS modules.Reliability
fetch
implementation:ActiveDOMObject
from WebKit so that all native objects can be suspended & terminatedMisc
bun install
The text was updated successfully, but these errors were encountered: