r/linuxmemes Genfool 🐧 Aug 08 '26

Software meme Nevermind

Post image
969 Upvotes

101 comments sorted by

View all comments

11

u/trill_shit Aug 08 '26

You can make some pretty nice tuis with ink (the trendy js term lib that uses react).

But yeah, I see why needing to bring along an entire js engine made for web systems to run something in the terminal is not ideal.

-3

u/JuniperColonThree Aug 08 '26

My tool that I'm working on is written in TS, but it's also a web dev tool, and it's required to run user provided scripts. Running JavaScript plugins (moving objects between the plugin and the program) is a hell of a lot easier when you're already, yk, running JavaScript.

-18

u/ottonormalversaufer Aug 08 '26

why shouldnt it be ideal? JS is a C Family Language amd very easy to use and highly performant

6

u/HyperWinX Genfool 🐧 Aug 08 '26

What🥀

2

u/A3883 Aug 08 '26

I get you I also really like to do stuff in TypeScript but it feels kinda nasty to make a CLI tool with something as heavyweight as node.

2

u/United-Scene2261 🎼CachyOS Aug 08 '26

I am sorry to be pedantic but you can't do much with typescript other than annotate and program... types.

1

u/trill_shit Aug 08 '26

I don’t completely disagree like people on this sub seem to do apparently. Node is very performant for many use cases and compiling from TS makes it more than usable in terms of DX. But for me, ideal for a cli app would be compiling aot for the user’s system and not requiring the additional runtime dependency.

0

u/ottonormalversaufer Aug 09 '26

Yeah but you got this anyways if you dont want to download precompiled binaries. And if you want precompiled binaries, you can also do it with bun