HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
fenollp
erlscp
Erlang2017–2017
fenollp / erlscp

erlscp

A supercompiler pass for Erlang

2Distinct people
2Mentions
0Explicit recommenders
93GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A supercompiler pass for Erlang

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2017-08-21 12:42:54 UTC to 2017-08-21 17:47:57 UTC.

012017-08-21 12:00:00 UTC to 2017-08-21 13:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsAug 21, 12:002017-08-21 13:00:00 UTC to 2017-08-21 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-08-21 14:00:00 UTC to 2017-08-21 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsAug 21, 14:002017-08-21 15:00:00 UTC to 2017-08-21 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-08-21 16:00:00 UTC to 2017-08-21 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-08-21 17:00:00 UTC to 2017-08-21 18:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsAug 21, 17:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Aug 21, 12:002017-08-21 12:00:00 UTC2017-08-21 13:00:00 UTC110
Aug 21, 13:002017-08-21 13:00:00 UTC2017-08-21 14:00:00 UTC000
Aug 21, 14:002017-08-21 14:00:00 UTC2017-08-21 15:00:00 UTC000
Aug 21, 15:002017-08-21 15:00:00 UTC2017-08-21 16:00:00 UTC000
Aug 21, 16:002017-08-21 16:00:00 UTC2017-08-21 17:00:00 UTC000
Aug 21, 17:002017-08-21 17:00:00 UTC2017-08-21 18:00:00 UTC101

What Hacker News says

2 sources
So if you look into [1] you'll find .hrl sources (actually .erl) and their .S counterpart in the subfolders. From these you will see that functions `a` and `b` look more and more like each other. Note that `b` is the literal version of `a`. How much speedup? Potentially infinite, at the price of compile time. In real world cases though I don't have any data yet. I want to be able to compile a whole project first and that fails for one last reason, described in the README. But I have faith :) The patterns that can be superoptimized are few for now. [2] describes how some of lists.erl functions work so that they can be supercompiled. The long-term idea is to have a local(/global if secured) cache of code so that inter-module calls can be optimized if the developer wants. My real world case/motivation is supercompilation of code such as [3]
Read the rest
(goal is to turn `a` into `b` at the assembly level). This pattern is extremely common in my employer's software [4] (which is probably the biggest open source Erlang project AFAIK). A short example of a being super compiled into b: a() -> hd([get()]). b() -> get(). [1] https://github.com/fenollp/erlscp/tree/master/test/asm_data [2] https://github.com/fenollp/erlscp/blob/master/src/erlang_sup... [3] https://github.com/fenollp/erlscp/blob/master/test/asm_data/... [4] https://github.com/2600hz/kazoo
In A supercompiler pass for Erlang

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.