Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kevinkassimo
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
1.
▲
by
kevinkassimo
6y ago
The very first line of sample code is linking to Deno standard modules, basically the standard library for Deno, aiming to be feature complete enough to bring down the side of dependencies
2.
▲
by
kevinkassimo
7y ago
TBH I am not probably the right person to answer this. Bartek has been working on a lot of internal refactoring these days and he had some discussion with Bert (presenter in dotjs video) on the topic. Maybe ask him in the Gitter chatroom?
3.
▲
by
kevinkassimo
7y ago
For people who are interested to learn more about the current status of Deno, we have a Gitter chatroom: https://gitter.im/denolife/Lobby Feel free to ask any questions there!
4.
▲
by
kevinkassimo
7y ago
By default remote imports does allow network access, but when running the downloaded scripts, they subject to network permission settings. Also if you are just worried about any remote imports anyways, there is a `--no-remote` (turn off htt
5.
▲
by
kevinkassimo
7y ago
I believe the current goal is by the end of January (and the main blocker right now is v8 inspector support (debugging in Chrome devtools)). However internally there are quite a few things need to refactor. Since Deno aims for better Web sp
6.
▲
by
kevinkassimo
7y ago
Also scripting feels nice in Deno so far. Also the ease of using a script written by someone else hosted on the web to do stuff, without worrying it taking over my machine, is cool IMHO.
7.
▲
by
kevinkassimo
7y ago
I remember saw something long time ago that type hints does not really offer much performance benefit here. Also TypeScript types aren't that reliable anyways since you can always @ts-ignore them. Real impact of TS on runtime performan
8.
▲
by
kevinkassimo
7y ago
The Rust v8 wrapper used in Deno is rusty_v8: https://github.com/denoland/rusty_v8 The whole privileged side (except for v8 itself) is in Rust.
9.
▲
by
kevinkassimo
7y ago
Deno does transparent compiling and caching of TS into JS. This allows interesting behavior such as the ability to import TS files with explicit .ts extension in JS files, e.g. `import A from " https://example.com/a.ts&q
10.
▲
by
kevinkassimo
7y ago
We currently support Rust message-passing based plugins. Rust sources can be fetched with Cargo or other alternative tools. Maybe (just "maybe" for now) we will be able to support plugin imports. In that case dylibs could be direc
11.
▲
by
kevinkassimo
7y ago
You don't really need NPM hosting with Deno. What you need is an index: sources can be hosted elsewhere independently, and instead people can build sites for popular module lookups. A package manager is different from package hosting.
12.
▲
by
kevinkassimo
7y ago
Yep that is the intended Deno standard modules -- the goal is to have a standard library large enough to cover most use cases (and that this standard library would not depend on external sources), while making sure that it is independent fr
13.
▲
by
kevinkassimo
7y ago
Are you running deno 0.10.0 versus Node? Since there has been some internal refactoring it should now be 80% wrt basic http req/sec (ref: https://deno.land/benchmarks.html#all , though the benchmark might have not cove
14.
▲
by
kevinkassimo
7y ago
Then how about a site like unpkg.com? The definition even becomes much more blurry as redirections and other possible protocols are involved.
15.
▲
by
kevinkassimo
7y ago
It is actually more interesting about the definition of “per module”, because technically every single file is its very own module from the view of V8, and is reinforced in Deno since we are trying to be web compatible, so there is not even
16.
▲
by
kevinkassimo
7y ago
For certain purposes (especially for writing servers), I would actually suggest Go and Rust as much better replacements for Node.js :) (Ryan also mentioned, if you notice, Go as better alternative for fast servers in the original JSConf vid
17.
▲
by
kevinkassimo
7y ago
Replying to Flatbuffers concerns: You are right, we will try to get rid of it for some faster serialization mechanisms (after some huge internal refactor lands). See the talk I posted, Ryan mentioned about it near the end.
18.
▲
by
kevinkassimo
7y ago
You turn all permissions on if you are actually using it as if it is Node for writing servers. But in the case when you are using a (potentially untrusted) code snippet to perform certain operations (like encode/decode base64 values),
19.
▲
by
kevinkassimo
7y ago
As a contributor to Deno, I am actually quite surprised that this got resurfaced on Hacker news after the hype June last year. That being said, I suggest checking out this video (recorded this April) for updated information about Deno, sinc
20.
▲
by
kevinkassimo
8y ago
Created this guide to discuss some current designs of Deno, a secure TypeScript server-side runtime created by Ryan Dahl, the creator of Node.js. It aims to make the current codebase and design more accessible and possibly encouraging contr
21.
▲
A Guide to Deno Core (for Contributors)
(denolib.gitbook.io)
4 points
by
kevinkassimo
8y ago
|
1 comments
22.
▲
buHtiG: get early GitHub commits and browse sequentially with ease
(buhtig.com)
1 points
by
kevinkassimo
8y ago
|
0 comments