| ▲ | titzer 2 hours ago | |
Seeing a JSON configuration file that stores environment variables makes me want to cry. Just to think that somewhere, somehow, it's going to launch an entire JavaScript VM (tens of megabytes) just to parse a file with 12 lines in it, then extract from a JavaScript the fields, munge it, eventually turn into more or less an array of VAR=val C strings which get passed to a forked shell.... | ||
| ▲ | spankalee 2 hours ago | parent | next [-] | |
Why do you presume it needs a JavaScript VM to parse JSON? | ||
| ▲ | sgarland 2 hours ago | parent | prev [-] | |
Granted, I have no idea how Claude Code operates internally, but if it’s already running in a JS VM, can’t it read the file itself? | ||