lemmy client for Deno
6
lemmy client for Deno
copy

Any plans on making a port of lemmy-js-client to Deno (https://deno.land/) ?

help-circle
@southerntofu
link
17M

Sorry maybe a stupid question but why? I mean there’s already a web client we’re typing on, and other clients would be cool (CLI, TUI, GUI) but why do javascript at all? Lemmy is already written in rust which is static typed, so just reimplementing the same logic in javascript could introduce tons of bugs.

@AxiomShell
creator
link
17M

I wasn’t suggesting implementing lemmy itself in JS/Typescript, but just adapt the lemmy-js-client (which is aimed at Node.js, if I’m not mistaken) to Deno.

Deno is an interesting alternative to Node.js. It is written itself in Rust (on top of V8) and with a much saner toolchain and it’s aimed to server-side and CLI. The reason is exactly because the port of the Node.js client to Deno would be almost trivial (just changing some idiomatic ES6 imports) and it could open a whole new bunch of opportunities to new cool tools to interact with Lemmy.

@southerntofu
link
17M

Ah my bad for misunderstanding your request! Yes i know about out Deno and it looks much better than nodejs (although feature to run code directly from URLs leaves me dubious) but to be honest i’d rather not touch javascript ecosystem with a 10-foot pole when i have the choice x)

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

  • 0 user online
  • 1 user / day
  • 1 user / week
  • 48 user / month
  • 247 user / 6 month
  • 988 subscriber
  • 318 Post
  • 2.34K Comment
  • Modlog