frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Is there a general, multi-PL programming task dataset?

1•quartztz•1y ago
Hello!

Being a student interested in PL design, I have had this idea floating around for a while: the gist is finding out what programming languages LLMs might be the most proficient in, to study their design choices and syntactic features with the goal of designing the perfect language for LLMs. This is, of course, gimmicky, but I entertained the idea for a while as a fun afterschool project.

The challenge is: what would be the best way to evaluate programming performance _in specific languages_? There are two main hypotheses here:

1. There are intrinsic syntactic/structural features that the transformer architecture is uniquely able to parse/reproduce/understand best, leading to higher quality code generated. For example: Lisp dialects make parsing code structure and blocks very easy, so one could assume an LLM can "understand their code better" 2. There is so much Python/JS out there that the question isn't even worth asking, and the performance in those will beat whatever other language you throw at it. This is probably not as much of a point thanks to newer transformer architectures but the question is still up.

I suspect the answer can be made somewhat interesting by considering performance relative to language popularity, but the ground question is: is there a general dataset containing different programming challenges, of varying difficulty, in multiple languages, with standard solutions? I couldn't find anything when I looked around, but I might have missed something obvious. It wouldn't be impossible to build a simple website to crowdsource, but I'm thinking that if I missed something obvious I'd rather find out early than late. Also, if you have any input on the project itself, I'd love to hear your ideas!

Comments

Someone•1y ago
> For example: Lisp dialects make parsing code structure and blocks very easy, so one could assume an LLM can "understand their code better"

I would expect the reverse: lisp has no syntactic sugar, making it harder for a LLM to glue code fragments together in a way that produces valid lisp code. Even guaranteeing that parentheses are correctly nested already can be a challenge.

As to a set of programs: they aren’t exactly what you’re looking for, but I would consider https://projecteuler.net (does not contain solutions, but searching for project Euler solutions” finds some) or https://benchmarksgame-team.pages.debian.net/benchmarksgame.

sargstuff•1y ago
Very open ended questions. Geeks for Geeks loosely organized around computer science topics of study : https://www.geeksforgeeks.org/

nit-pick details:

Ignoring hardware differences, "performance" comparisons can be based on differences between algorithm(s) used vs. how algorithm is implimented. For a given language, "algorithm implimentation performance" can be defined as the trade-offs on how a a given algorithm is implimented in a language (compared to other programming languages, but also easy use/flexibility based on 'language generation level -> https://www.geeksforgeeks.org/generation-programming-languag... )

----------------------

1) General computation language specialty 'modules' not withstanding; "languages" are built/optimised around core algorithmic concepts / anticipated area/concentration of targeted professional environment. aka opencl (gpu), R (statistics), Lisp (engineering design), C (OS level), sql (data selection), jasper reports, cobol (business), etc. Languages tend to be 'popular' because of the ecosystem provided around/for a given language.

snarky side note -> can always write a more standard language that compiles to an esolang & provide appropriate emacs/vim/sed/spacemacs ide support.: https://esolangs.org/wiki/Main_Page

  LLM's are very useful at curating information and recognizing/summarizing "statisical" relevance. aka apl is great for engineering mind set, not so good for business use cases aka cobal.  LLM might recognize a language for a given user that combines commonly used 'apl' aspecs of user and commonly used 'cobal' aspecs of user and recommend a language(s) with suitable commonalities for given user. 


2) Search engine topic 'coding challenges' 'algorithmic coding challenges' brings up many types of answers/sites for honing one's coding skills (various languages, beginner to expert, etc). Coding 'algorithms' vs. coming up with algorithm(s) to code is sort of a side aspect. Also differences in 'competition' challenges vs. 'technical challenges' (aka 512 c64 vs. 1 raspberry pi) ; vs. "computer science coding challenges" vs. 'computational genomic challenges'

     ?? how easy / hard based on 'profession' aka artist vs. software designer 20 years experience programming in scheme; environment -- NASA vs. google vs. insurance company.

   ?? from scratch : https://synoptek.com/insights/it-blogs/10-challenges-every-software-product-developer-faces/

   ?? based on industry standards ?? ; just trying to keep skills honed ??

The ~500kB NBSDGames 6 managed to be published ahead of GTA 6

https://github.com/abakh/nbsdgames/releases
1•abakh•44s ago•0 comments

Access Advance Licensor Sues Snap Inc. For AV1 and HEVC Patent Infringement

https://www.accessnewswire.com/newsroom/en/electronics-and-engineering/access-advance-licensor-su...
1•maxloh•1m ago•0 comments

Why Custom Attributes in .NET Give Me Nightmares

https://blog.washi.dev/posts/custom-attributes-and-why-they-suck/
1•jandeboevrie•3m ago•0 comments

Alibaba DAMO Academy Releases GPU Version of Solver

https://www.moomoo.com/news/post/70684711/alibaba-damo-academy-releases-gpu-version-of-solver-for...
1•devy•4m ago•0 comments

Avian Visitors

https://theodore.net/projects/AvianVisitors/
1•fdb•5m ago•0 comments

I'm a photographer. I built a DSL for multi-agent workflows

https://github.com/anhonestboy/agentflow
3•westhills•13m ago•0 comments

A Complexity Theory of AI Value Accrual

https://twitter.com/hypersoren/status/2056866328003174707
2•pretext•18m ago•0 comments

Google infringed trademark allowing competitors use brand name as an ad keyword

https://economictimes.indiatimes.com/tech/technology/ettech-explainer-why-google-was-fined-rs-30-...
3•alok-g•18m ago•1 comments

Dell Confirms XPS Laptop with Nvidia N1X at Computex

https://videocardz.com/newz/dell-confirms-xps-laptop-with-nvidia-n1x-at-computex
2•theanonymousone•21m ago•0 comments

High Tech Heroes #37: Sherwin Gooch Interviews Jef Raskin (1989?)

https://www.youtube.com/watch?v=1qvrOEExlps
2•OhMeadhbh•25m ago•0 comments

Codex generated code that bypasses security constraints

https://twitter.com/sluongng/status/2060746160558543217
3•nomilk•28m ago•0 comments

Why Don't Computers Just Use One Type of Memory?

https://www.youtube.com/watch?v=TfhL5kBiQVI
3•randfur•37m ago•0 comments

Show HN: News about positive advances in medicine, climate tech, research

https://thegoodreport.co/
2•dreadsword•41m ago•0 comments

The SpaceX IPO is great for Elon Musk and terrible for you

https://www.theverge.com/ai-artificial-intelligence/940001/elon-musk-spacex-ipo-ai
8•1vuio0pswjnm7•44m ago•3 comments

A pictorial introduction to differential geometry (2017)

https://arxiv.org/abs/1709.08492
3•ricudis•48m ago•0 comments

How LLMs Work

https://arpitbhayani.me/blogs/how-llms-work/
2•dharaniES•1h ago•0 comments

We contain Claude across products

https://www.anthropic.com/engineering/how-we-contain-claude
4•Tomte•1h ago•0 comments

Show HN: V0.6.0-pre.14 hopefully the last release before v0.6.0

https://codeberg.org/ordinarylabs/Ordinary/releases/tag/v0.6.0-pre.14
2•seanwatters•1h ago•0 comments

Show HN: Komi-learn – continuous memory and self-improvement for coding agents

https://github.com/kurikomi-labs/komi-learn
2•rainxchzed•1h ago•0 comments

Blackwall – OSINT exposure scanner that pulls from real sources

https://theblackwall.vercel.app/
2•jwallace•1h ago•0 comments

Gradient animation using a WebGL shader

https://garden.bradwoods.io/notes/shaders/gradient
3•bradwoodsio•1h ago•0 comments

A standard for building production AI agents (+ installable Claude Code skills)

https://github.com/AlexDuchDev/agentic-product-standard
2•AlexDuch•1h ago•0 comments

OMP – pi agent with batteries included and a coding agent with the IDE wired in

https://omp.sh/
4•himata4113•1h ago•0 comments

The Last Coder: A Mockumentary

https://twitter.com/deepwhitman/status/2060938449541345294
4•bilater•1h ago•0 comments

The Two Doors

https://pilgrima.ge/p/the-two-doors
3•xenophonf•1h ago•0 comments

Update notifications for your CLI app

https://github.com/sindresorhus/update-notifier
3•ankitg12•1h ago•0 comments

The Record

https://soundbarrier.io/posts/the_record/
2•oneofthose•1h ago•0 comments

Ask HN: How you pass legacy to others?

3•jojwong•1h ago•0 comments

Ferrari Built the Luce for Outsiders. Its Own Fans Are the Only Ones Talking

https://getcarcurious.com/stories/ferrari-luce-podcast-reaction
2•mountaineer•1h ago•0 comments

Aliens.gov

https://www.whitehouse.gov/aliens/
6•sarkarghya•1h ago•4 comments