Binding Application in Idris
https://andrevidela.com/blog/2025/binding-application/
#HackerNews #BindingApplication #Idris #FunctionalProgramming #Haskell #ProgrammingLanguages #TypeSystems
All about the new pipe operator in PHP 8.5:
https://thephp.foundation/blog/2025/07/11/php-85-adds-pipe-operator/
Best keywords to use for case-matching syntax? #ProgrammingLanguages
Jank Programming Language
#HackerNews #JankProgrammingLanguage #JankLang #ProgrammingLanguages #TechNews #CodingCommunity
Today I realized #Go and #Rust both have panics instead of exceptions and both originate from the second half of the 2000s.
These facts are now mentioned in https://gato-lang.dev/
If you have experience with Go or Rust, I'm interested in your thoughts on the lack of exceptions in these languages. It looks to me like an attempt to simplify things that eventually backfired, as evidenced for example by https://www.crowdstrike.com/en-us/blog/dealing-with-out-of-memory-conditions-in-rust/
SUS Lang: The SUS Hardware Description Language
#HackerNews #SUSLang #SUSHardwareDescriptionLanguage #TechInnovation #ProgrammingLanguages #HardwareDesign
A mix of neat and not-so-neat stuff 🫤:
“10 Features Of D That I Love”, Bradley Chatha (https://bradley.chatha.dev/blog/dlang-propaganda/features-of-d-that-i-love/).
Via HN: https://news.ycombinator.com/item?id=44445877
On Lobsters: https://lobste.rs/s/msjy28/10_features_d_i_love
#Programming #D #DLang #ProgrammingLanguages #Syntax #Listicle #Raves
New syntax just dropped in my toy programming language. ☺️
Not sure if I like it or hate it yet (especially the post-arguments form seen with the NEXT binding on the second picture), but I feels it's a lot easier to understand than the LET magic from before.
https://codeberg.org/bojidar-bg/project-world/commit/82b214e5757293fe32e0a11c03bb56820fc765d1
Даўно збіраўся пачытаць гэтую кнігу, але вось толькі зараз дабраўся. З усіх апісваных у кнізе моваў я зусім ніяк не сутыкаўся толькі з Prolog і Io, таму спадзяюся што гэтыя часткі кнгі прынамсі будуць цікавыя
I want to read a #compiler book written in the last 15 years that covers same topics as the Modern Compiler Implementation book by Appel, but uses recent terminology, tools and techniques. Any recommendations? #compilers #programminglanguages
EDIT: It seems like no such book exists. I guess I’ll have to read docs, blogs and papers along with old books to put things together myself.
<"/>
There’s only one truly universal ecosystem: the C ecosystem.
Here is my quick and dirty interpretation.
The actual ecosystem of computer programs is the machine language of the architecture they are running on.
Programming in machine language is done in assembly language.
C is (still) the dominant machine-independent assembly language.
NB: this universality excludes the bytecode languages of the JVM etc.
#devops how do you think your ideal programming language would look like? I mean a language in which you would write pipeline logic, like Python or Bash, not define pipeline steps itself, like YAML.
I think for me it would have:
- very clean and readable syntax
- immutable state by default
- strong typing
- strong tooling and IDE support
- focus on DevOps-need things, like JSON and files manipulation
- absence of danger things like pointers
Multi-Stage Programming with Splice Variables
#HackerNews #MultiStageProgramming #SpliceVariables #ICFP25 #ProgrammingLanguages #HackerNews
Kotlin, Swift, and Ruby have fallen from their top 20 positions in the Tiobe index. According to Tiobe CEO Paul Jansen, these languages are losing traction as the market consolidates around more established technologies. Python remains the dominant language. The top 20 languages now cover 83.56% of the total market, indicating a preference for proven technologies over new ones. #ProgrammingLanguages #TechNews #SoftwareDevelopment https://dub.sh/IO1smaU
Some pretty cool features are coming in Go 1.25. Thanks to @antonz for the great compilation:
Announcing Rust 1.88.0 | Lobsters
There are several interesting and beautiful languages which have low TIOBE ratings and are not in top 20 programming languages [1]. Python deserves to be on the top of the list due to its excellent ecosystem of tools and libraries while the core language has a low learning curve at the introductory level. Python has become the "Swiss Army knife" of programming languages.
For different reasons, Haskell (pure functional language) and Julia (language for computational science) are two of my recent favourite programming languages though they cannot be directly compared to each other.
To understand the subtleties of Python, Julia and Haskell, it may be interesting to explore the same simple examples in all the three languages.
Let us sum all numbers in a string. The program shall sum all numbers in a string as whole words which can be either string or float. Alphanumeric words must be excluded. The program shall handle numbers with an optional leading '+' sign, such as "+250.55", while still summing only valid numbers (integers or floats) as whole words and ignoring alphanumeric.
Python
def sumofNumbers(numString: str) -> float:
words = numString.split()
total = 0.0
for word in words:
try:
number = float(word)
total += number
except ValueError:
continue
return total
function sumofNumbers(numString :: String) :: Float64
words = split(numString)
total = 0.0
for word in words
try
number = parse(Float64, word)
total += number
catch e
continue
end
end
return total
end
import Text.Read (readMaybe)
sumofNumbers :: String -> Double
sumofNumbers str = sum $ map toNumber $ words str
where
toNumber :: String -> Double
toNumber s = case readMaybe s of
Just n -> n
Nothing -> case readMaybe (drop 1 s) of
Just n -> n
Nothing -> 0