Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bartlomieju
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
bartlomieju
4y ago
N-API will be supported in future releases of Deno, we have a PR going that is close to completion.
32.
▲
by
bartlomieju
4y ago
That's not really what's happening behind the scenes. We are consuming sources as they are provided in npm using "compat layer" that is part of Deno's standard library. We had to provide special module resolution, b
33.
▲
by
bartlomieju
4y ago
New server API is modelled after API available in "std/http/server.ts", so for most folks it should be a drop in replacement.
34.
▲
by
bartlomieju
4y ago
"compat" mode has been supported for some months now: https://deno.land/manual/node/compatibility_mode
35.
▲
by
bartlomieju
4y ago
Not really, Fresh already powers several websites https://deno.land/ , so it definitely has production use.
36.
▲
by
bartlomieju
4y ago
Bartek from Deno here, this is mostly true. The runtime heavily relies on the Web standards, while Go was a heavy inspiration for Deno's standard library (deno_std [0]) in the early days. Since then, we've been relying on Web stan
37.
▲
by
bartlomieju
5y ago
Deno Land Inc. | Head of Growth | Remote | Full-time | https://deno.com | https://deno.land Deno Land is a startup founded by creators of Node.js, the runtime used by millions of developers that laid the foundations
38.
▲
by
bartlomieju
5y ago
If the tooling you're describing outputs JS sources there's nothing preventing you from using it. Currently there's no way to hook them up directly into Deno, so you'd have to resort to separate build step (via some kind
39.
▲
by
bartlomieju
5y ago
Oak [0] is the go-to web framework in Deno ecosystem, it has Koa-like API. There's also Opine [1], Drash [2] and some other that are also highly spoken of by folks at the Discord. AFAIK Oak used native HTTP bindings since their incepti
40.
▲
by
bartlomieju
5y ago
Bartek from deno.land here, happy to answer your questions should you have any. Deno 1.13 is one of the biggest releases to date - we're especially happy with stabilization of native HTTP server bindings. We plan to focus on squeezing
41.
▲
by
bartlomieju
5y ago
Thanks, I'll update the example
42.
▲
by
bartlomieju
5y ago
BuntDB [0] from @tidwall uses this package as a backing data structure. And BuntDB is in turn used by Tile38 [1] [0] https://github.com/tidwall/buntdb [1] https://github.com/tidwall/tile38
43.
▲
by
bartlomieju
5y ago
https://deno.land/x/ is a service from Deno, but it's a registry for 3rd party modules. There's no need to change the URL
44.
▲
Deno 2020 year in review
(deno.land)
7 points
by
bartlomieju
6y ago
|
1 comments
45.
▲
by
bartlomieju
6y ago
There's nothing preventing you from still using a central repository (or its mirrors). I highly recommend "Deno is a Browser for Code" by Kitson [1] which discusses this subject in more depth. [1] https://kitsonkel
46.
▲
by
bartlomieju
6y ago
> Personally I appreciate being able to choose my linter, compiler, dialect etc. I completely agree with that! But on the other hand with plethora of tools available it can be quite overwhelming to configure all the tools, especially for
47.
▲
by
bartlomieju
6y ago
> We're never going to put URLs into our imports because we want to be able to run things offline without depending on 3rd party servers to stay up over time, but if we can depend on local ./node_modules libs once compatibility
48.
▲
by
bartlomieju
6y ago
Deno is a JavaScript runtime much like Node. For the reasons on why creating Deno I recommend "10 Things I Regret About Node" by Deno's author [1] Deno is different than Node in several aspects; most notably: - Deno supports
49.
▲
by
bartlomieju
6y ago
That really depends on concrete package; a lot of npm packages works perfectly fine in Deno, especially if they're available via CDNs like Skypack. For packages that use native Node APIs there's a Node compatibility layer being d
50.
▲
by
bartlomieju
6y ago
Currently it's 30-45Mb depending on the OS. We're working on providing a "lite" version of the runtime, that doesn't include tools like formatter or linter. Preliminary works show that we should be able to trim exec
51.
▲
by
bartlomieju
6y ago
Hey, Bartek from deno.land here. I'll be more than happy to answer your questions about Deno and its development.
52.
▲
by
bartlomieju
7y ago
You can scope it further: deno --allow-net=0.0.0.0:8000 https://deno.land/std/examples/echo_server.ts Or even provide a list of addresses: deno --allow-net=0.0.0.0:8000,localhost https://deno.la
53.
▲
by
bartlomieju
8y ago
I don't have knowledge about early NPM stages, but from my perspective the goal right now is to get rid of need for package manager.
54.
▲
by
bartlomieju
8y ago
Experience has been awesome. This tech is really challenging for me, but at the same time amount of knowledge I gain is huge. Deno community hangs around on gitter, here: https://gitter.im/denolife/Lobby Question about
55.
▲
by
bartlomieju
8y ago
Disclaimer: I contribute to Deno. IMHO it will take 1-2 months before someone deploys simple production services. We're already working on standard library, which you can see here: https://github.com/denoland/deno_
56.
▲
by
bartlomieju
8y ago
PR for this is here: https://github.com/denoland/deno/issues/975 It's expected that this should land in next month.
57.
▲
by
bartlomieju
8y ago
Disclaimer: I contribute to Deno. Contrary to Go, when using Deno you don't need to invoke any command to install a package. You just put your import statement with full URL (you can pin version there, eg. https://unpkg.com&
58.
▲
by
bartlomieju
8y ago
Thanks, that's super useful! I found myself accidentally quitting terminal multiple times by pressing Ctrl+D one too many times.
59.
▲
by
bartlomieju
8y ago
Can you reveal how you did that? EDIT: typo
60.
▲
Announcing Kong 1.0
(konghq.com)
3 points
by
bartlomieju
8y ago
|
0 comments
More ›