frontpage.
newsnewestaskshowjobs

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 ??

A new Intel Itanium (IA-64) emulator that boots Windows

https://raymii.org/s/blog/Intel_Itanium_IA-64-Emulator_that_boots_Windows.html
2•jandeboevrie•8m ago•1 comments

Americans are angry about data centers. Politicians are feeling the pressure

https://www.reuters.com/world/us/americans-are-angry-about-data-centers-politicians-are-feeling-p...
1•baranul•9m ago•0 comments

From Enlightenment to Alignment

https://smolnero.com/posts/from-enlightenment-to-alignment
1•andsoitis•10m ago•0 comments

Why It's So Hard to Add a Column in the Middle of a PostgreSQL Table

https://www.bytebase.com/blog/why-its-hard-to-add-a-column-in-the-middle-of-postgres-table/
1•thunderbong•12m ago•0 comments

Moore's Law for Everything

https://moores.samaltman.com/
1•dtj1123•17m ago•0 comments

I built an AI operating system after getting tired of repetitive work

https://lynx.apex7ai.com
1•levymartins•18m ago•0 comments

Data Science Weekly – Issue 660

https://datascienceweekly.substack.com/p/data-science-weekly-issue-660
1•sebg•21m ago•0 comments

Is the determinant of this "Fibonacci sum" indicator matrix always -1, 0 or 1?

https://mathoverflow.net/questions/513340/is-the-determinant-of-this-fibonacci-sum-indicator-matr...
1•philipfweiss•23m ago•0 comments

Russian drones spotted using screwed-on magnetic compasses as navigation aids

https://www.tomshardware.com/tech-industry/drones/russian-drones-spotted-using-screwed-on-magneti...
2•rmason•23m ago•1 comments

Mefo Bill

https://en.wikipedia.org/wiki/Mefo_bill
3•handfuloflight•31m ago•0 comments

How to soothe thumb pain when texting and scrolling

https://apnews.com/article/trigger-thumb-de-quervains-tenosynovitis-carpal-tunnel-35728b0142d310c...
3•devonnull•32m ago•0 comments

Tine: A new editor for Jai, Zig and C++

https://travisdp.itch.io/tine
1•travismd•33m ago•0 comments

Heavy TV watching associated with smaller brain structures, study finds

https://dornsife.usc.edu/news/stories/heavy-tv-watching-associated-with-smaller-brain-structures/
37•mashally•33m ago•6 comments

Wall of Optimism – I have reasons to believe the future is beautiful, and you?

https://wallofoptimism.com
2•nikitafaesch•37m ago•0 comments

Can LLMs write Base64 as well as they read it?

https://arvidsu.github.io/encode_bench/index.html
2•ArvidSu•39m ago•0 comments

HMD Fusion easy to repair smartphone

https://www.hmd.com/en_int/hmd-fusion
2•savolai•40m ago•1 comments

Show HN: A schema you change by talking to it, without the model writing SQL

https://github.com/leandrobon/mutable-crm
2•leandrobon•40m ago•0 comments

Prime Flow Field Background Animation

https://www.brt.fyi/posts/prime-flow-field/
4•maxbrt•44m ago•0 comments

Is someone Into process mining? Let's talk in this thread

1•FrancescoMassa•47m ago•0 comments

The Windows laptop market is so bad I'm considering a MacBook

https://old.reddit.com/r/laptops/comments/1uy4hj0/ive_officially_hit_rock_bottom_the_windows_laptop/
3•ksec•48m ago•0 comments

Eric Schmidt tried to convert Google to Java

https://www.youtube.com/watch?v=ceCy2_FRxxo
5•mashally•50m ago•1 comments

Barbarians at the Gateways (2013)

https://spawn-queue.acm.org/doi/10.1145/2523426.2536492
2•tosh•58m ago•0 comments

Pyinfra Is Underrated

https://pyinfra.com
5•zxspectrumk48•1h ago•0 comments

Why Argentina Has Almost No Black People [video]

https://www.youtube.com/watch?v=FiPSZ_eaRPo
6•baranul•1h ago•0 comments

Trend Has Russian Men Smashing Their iPhones for a Manlier Look

https://www.odditycentral.com/videos/bizarre-trend-has-russian-men-smashing-their-iphones-for-a-m...
11•jethronethro•1h ago•1 comments

On Claude's Clotted Writing Style

https://blog.kierangill.xyz/clotted-claude
3•kierangill•1h ago•0 comments

The Newest Vegas Loop Stations Will Blow Your Mind [video]

https://www.youtube.com/watch?v=e7vFCP3PtuA
2•Topfi•1h ago•0 comments

Nvidia DGX Spark as a daily driver

https://daniel.lawrence.lu/blog/2026-07-15-dgx-spark-as-daily-driver/
5•plun9•1h ago•1 comments

Photo going viral of Lionel Messi with baby Lamine Yamal(2024)

https://www.euronews.com/culture/2024/07/16/two-legends-the-story-behind-the-2007-photo-going-vir...
2•rawgabbit•1h ago•1 comments

Wigolo: Local first web search agent

https://knockoutez.github.io/wigolo/
2•handfuloflight•1h ago•0 comments