Most active commenters

    ←back to thread

    514 points mfiguiere | 19 comments | | HN request time: 0.687s | source | bottom
    1. blt ◴[] No.43710058[source]
    Sorry for being a grumpy old man, but I don't have npm on my machine and I never will. It's a bit frustrating to see more and more CLI tools depending on it.
    replies(11): >>43710085 #>>43710092 #>>43710096 #>>43710118 #>>43710143 #>>43710153 #>>43710155 #>>43710180 #>>43710185 #>>43710371 #>>43710789 #
    2. crancher ◴[] No.43710085[source]
    What are your concerns?
    replies(1): >>43710111 #
    3. John23832 ◴[] No.43710092[source]
    I asked the same question for Anthropic's version of this. Why is all of this in JS?
    replies(4): >>43710167 #>>43710201 #>>43710294 #>>43710560 #
    4. Vegenoid ◴[] No.43710096[source]
    What package managers do you use, and what does npm do differently that makes you unwilling to use it?
    5. jensenbox ◴[] No.43710111[source]
    The entire JS ecosystem.
    6. teaearlgraycold ◴[] No.43710118[source]
    Judge the packages on their dependencies, not on their package manager.
    7. sudofail ◴[] No.43710143[source]
    Same, there are so many options these days for writing CLIs without runtime dependencies. I definitely prefer static binaries.
    8. Dangeranger ◴[] No.43710153[source]
    You could just run it in a Docker container and not think about it much after that. Mount a volume to the container with the directory contents you want to be available for edit by the agent.

    https://github.com/openai/codex/blob/main/codex-cli/scripts/...

    9. schainks ◴[] No.43710155[source]
    Why? I am not the biggest fan of needing a whole VM to run CLI tools either, but it's a low-enough friction experience that I don't particularly care as long as the runtime environment is self-contained.
    10. photonthug ◴[] No.43710167[source]
    Tree-sitter related bits probably
    replies(1): >>43710563 #
    11. meta_ai_x ◴[] No.43710180[source]
    if OpenAI had really smart models, they would converted TS/JS apps to Go or Rust apps.

    Since they don't, AGI is not here

    12. therealmarv ◴[] No.43710185[source]
    It might shock you but many of use editors built on browsers for editing source code.

    I think the encapsulating comment from a another guy (in Docker or any other of your favorite VM) might be your solution.

    13. ◴[] No.43710201[source]
    14. parhamn ◴[] No.43710294[source]
    JS is web's (and "hip" developer's) python, and in many ways it is better. Also the tooling is getting a lot better (libraries, typescript, bundling, packaging, performance).

    One thing I wonder that could be cool: when Bun has sufficient NodeJS compatibility the should ship bun --compile versions so you dont need node/npm on the system.

    Then it's arguably a, "why not JS?"

    replies(1): >>43710501 #
    15. tyre ◴[] No.43710371[source]
    this is a strong HN comment. lots of “putting a stick in my own bicycle wheel” energy

    there are tons fascinating things happening in AI and the evolution of programming right now. Claude and OpenAI are at the forefront of these. Not trying it because of npm is a vibe and a half.

    16. throwaway314155 ◴[] No.43710501{3}[source]
    > and in many ways it is better

    Right but is it worth having to write JS?

    /s (kinda)

    17. AstroBen ◴[] No.43710560[source]
    typescript is a pretty nice language to work with. why not?
    18. emporas ◴[] No.43710563{3}[source]
    tree-sitter is a C library though. Only grammars for each particular lang are defined in javascript.
    19. ilrwbwrkhv ◴[] No.43710789[source]
    Yep, this is another one of the reasons why all of these tools are incredibly poor. Like, the other day I was looking at the MCP spec from anthropic and it might be the worst spec that I've ever read in my life. Enshittification at the level of an industry is happening.