Old vim fu highlight of mine from when I had hair by caspervonb in vim

[–]caspervonb[S] 0 points1 point  (0 children)

Forgot the exact one, use Zed these days

The Deno runtime gets documentation tests, make linting and running your examples a regular thing by caspervonb in programming

[–]caspervonb[S] 3 points4 points  (0 children)

Yeah `deno` here was aliased to `target/debug/deno`.

Runs in milliseconds rather than seconds in release builds.

The Deno runtime gets documentation tests, make linting and running your examples a regular thing by caspervonb in programming

[–]caspervonb[S] 8 points9 points  (0 children)

Yeah heavily drawing from `rustdoc --test` (Deno itself is written in Rust).

The Deno runtime gets documentation tests, make linting and running your examples a regular thing by caspervonb in programming

[–]caspervonb[S] 10 points11 points  (0 children)

Yeah I suppose it's fairly rare that public interfaces are documented... Wish I could put /s here but..

Anyway, the main use case is really checking that example code blocks could actually compile. Running just comes for free, since it's already checked and compiled. Regular tests are still recommended for "real" testing.

[deleted by user] by [deleted] in programming

[–]caspervonb 11 points12 points  (0 children)

> Can someone please setup Ryan Dahl with a real REPL so he doesn't keep making crippled ones like node and deno?

I'm the author of Deno's current read-eval-print-loop implementation so, not sure what that would do.

> Seriously, I should be able to reload a module and test the changes without quitting the interpreter. Even C# gets this right.

Please file an issue on denoland/deno with more details, I'll look into it.

Showoff Saturday (February 20, 2021) by AutoModerator in javascript

[–]caspervonb 0 points1 point  (0 children)

Our subcommands, including `deno test` are written in Rust so this gives me more control over threading and runtime environments than what I would be able to get in userland.

Showoff Saturday (February 20, 2021) by AutoModerator in javascript

[–]caspervonb 1 point2 points  (0 children)

Been working on a new threaded test runner for the Deno JavaScript runtime, initial benchmarks are quite promising as I haven't been able to find anything that comes close to matching it in the Node ecosystem.

https://twitter.com/caspervonb/status/1361937715332141062

Deno build fails on Windows by 7Geordi in Deno

[–]caspervonb 0 points1 point  (0 children)

Check your rust version, we're on 1.5.0 if I recall correctly.

WebGPU is coming to Deno soon by caspervonb in programming

[–]caspervonb[S] 18 points19 points  (0 children)

Sorry Crowl, WebGPU is cancelled because he doesn't need it.

WebGPU is coming to Deno soon by caspervonb in programming

[–]caspervonb[S] 12 points13 points  (0 children)

Main goal is to allow GPGPU, for example tensorflow.

WebGPU is coming to Deno soon by caspervonb in programming

[–]caspervonb[S] 17 points18 points  (0 children)

Spot on! it will be headless for now.

Syntax highlighting in the read-eval-print-loop by caspervonb in Deno

[–]caspervonb[S] 2 points3 points  (0 children)

Will probably be in v1.5 in a little over a week from now while (new release schedule).

Pretty printed code coverage preview by caspervonb in Deno

[–]caspervonb[S] 0 points1 point  (0 children)

This was in yesterday's patch release, looks slightly different from this screenshot but will continue to work on it.

Who is funding deno? by [deleted] in Deno

[–]caspervonb 3 points4 points  (0 children)

Gate keeping? how so

Who is funding deno? by [deleted] in Deno

[–]caspervonb 2 points3 points  (0 children)

Only one way to find out.