For anyone wondering, the article clarifies that "A NIF is a function that is implemented in C instead of Erlang". I had a bunch of fun getting ChatGPT Code Interpreter to write (and compile and test) C extensions for SQLite last year: https://simonwillison.net/2024/Mar/23/building-c-extensions-...
I let LLMs write an Elixir NIF in C; it mostly worked
11–20 of 73 posts
Re: I let LLMs write an Elixir NIF in C; it mostly worked
#12Re: I let LLMs write an Elixir NIF in C; it mostly worked
#13Earlier quoted context omitted.
Get Pro 5.. it will work I promise
I've completely refactored my Elixir codebase with Claude 4, expanded the test suite by 1,000 more tests, and released a few more features faster than I ever have to actual paying customers. Tidewave MCP is helpful as are some custom commands and a well tunded CLAUDE.md But you do you.
Re: I let LLMs write an Elixir NIF in C; it mostly worked
#14For anyone wondering, the article clarifies that "A NIF is a function that is implemented in C instead of Erlang". I had a bunch of fun getting ChatGPT Code Interpreter to write (and compile and test) C extensions for SQLite last year: https://simonwillison.net/2024/Mar/23/building-c-extensions-...
Re: I let LLMs write an Elixir NIF in C; it mostly worked
#15Re: I let LLMs write an Elixir NIF in C; it mostly worked
#16Earlier quoted context omitted.
Get Pro 5.. it will work I promise
I've completely refactored my Elixir codebase with Claude 4, expanded the test suite by 1,000 more tests, and released a few more features faster than I ever have to actual paying customers. Tidewave MCP is helpful as are some custom commands and a well tunded CLAUDE.md But you do you.
Re: I let LLMs write an Elixir NIF in C; it mostly worked
#17Re: I let LLMs write an Elixir NIF in C; it mostly worked
#18Earlier quoted context omitted.
I've completely refactored my Elixir codebase with Claude 4, expanded the test suite by 1,000 more tests, and released a few more features faster than I ever have to actual paying customers. Tidewave MCP is helpful as are some custom commands and a well tunded CLAUDE.md But you do you.
So hard to tell if this is parody or not.
Re: I let LLMs write an Elixir NIF in C; it mostly worked
#19Earlier quoted context omitted.
I've completely refactored my Elixir codebase with Claude 4, expanded the test suite by 1,000 more tests, and released a few more features faster than I ever have to actual paying customers. Tidewave MCP is helpful as are some custom commands and a well tunded CLAUDE.md But you do you.
So hard to tell if this is parody or not.
I also "vibed" up this: https://livefilter.fly.dev/todos (https://github.com/cpursley/livefilter) and this: https://star-support-demo.vercel.app/en/getting-started (https://github.com/agoodway/star-support-demo)
I hand wrote very little of this code, but can read most of it - the SQL and Elixir at least ;)
Re: I let LLMs write an Elixir NIF in C; it mostly worked
#20I essentially ran out of patience and tried another approach. It involved an LLM running C code so I could check the library output compared to my implementation to make sure it was byte-for-byte.
The C will never ship. I don't have practice writing C so I am very inefficient at it. I read it okay. LLMs are pretty decent help for this type of scrap code.