Hacker News with Generative AI: Code Generation

Vector math library codegen in Debug (aras-p.info)
This will be about how when in your C++ code you have a “vector math library”, and how the choices of code style in there affect non-optimized build performance.
A Comprehensive Analysis of Package Hallucinations by Code Generating LLMs (arxiv.org)
The reliance of popular programming languages such as Python and JavaScript on centralized package repositories and open-source software, combined with the emergence of code-generating Large Language Models (LLMs), has created a new type of threat to the software supply chain: package hallucinations.
Show HN: qrframe – generate beautiful qr codes with javascript code (github.com/zhengkyl)
code-based qr code generator
Show HN: Repogather – copy relevant files to clipboard for LLM coding workflows (github.com/gr-b)
repogather is a command-line tool that copies all relevant files (with their relative paths) in a repository to the clipboard. It is intended to be used in LLM code understanding or code generation workflows.
Sqlc: Compile SQL to type-safe code (sqlc.dev)
sqlc generates fully type-safe idiomatic code from SQL.
Achieving high Python performance with code generation (2022) (medium.com)
Vizdom: Diagrams as Code (vizdom.dev)
Amazon CEO: AI Code Transformation Saved Us 4,500 Years of Developer Work (slashdot.org)
Grok 2.0 mini beta is pretty decent at generating code better than Gemini (twitter.com)
Kiota: OpenAPI-based HTTP client code generator (github.com/microsoft)
Where Are Large Language Models for Code Generation on GitHub? (arxiv.org)
Prelude – a tiny CLI tool building context prompts from your code (github.com/aerugo)
Igneous Linearizer: semi-structured source code (domain-j.com)
LLM Prompts for Code Generation, Data Wrangling and More (github.com/abilzerian)
GPT-4o hit 54% accuracy on CodeContests with AlphaCodium, up from 48% for GPT-4T (github.com/Codium-ai)
Efficiently synthesizing lowest cost rewrite rules for instruction selection (arxiv.org)
NetBSD bans use of Copilot-generated code (osnews.com)
Show HN: We built the only AI-powered production-ready code generator (amplication.com)
I'm puzzled how anyone trusts ChatGPT for code (ycombinator.com)
StarCoder2-Instruct: Transparent Self-Alignment for Code Generation (github.com/bigcode-project)