#ProgrammingLanguages

Jason P 🇺🇦 🌍🌎🌏wirthy@functional.cafe
2025-07-10

Best keywords to use for case-matching syntax? #ProgrammingLanguages

Charly Coste 🇫🇷Changaco@mastodon.cloud
2025-07-07

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 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 crowdstrike.com/en-us/blog/dea

#ProgrammingLanguages

रञ्जित (Ranjit Mathew)rmathew
2025-07-06
Bojidar Marinovbojidar_bg
2025-07-04

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.

codeberg.org/bojidar-bg/projec

(-> LET; LET -> RET
    (-> NEXT; env 2 NEXT (->; error "No such argument")) -> filename
    import filename -> main
    main
) -> mainmain = (-> RET
    env 2 NEXT (->; error "No such argument"); NEXT = -> filename
    import filename -> main
    main
)
Dr. Zilchhleb
2025-07-02

Даўно збіраўся пачытаць гэтую кнігу, але вось толькі зараз дабраўся. З усіх апісваных у кнізе моваў я зусім ніяк не сутыкаўся толькі з Prolog і Io, таму спадзяюся што гэтыя часткі кнгі прынамсі будуць цікавыя

Вокладка кнігі Seven Languages ​​in Seven Weeks
2025-07-02

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.

Vassil Nikolovvnikolov@ieji.de
2025-06-29

<"/>
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.

#ComputerProgramming
#ProgrammingLanguages

@amoroso

yuartyuart
2025-06-29

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

OS-SCIos_sci
2025-06-27

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. dub.sh/IO1smaU

Anthony Acciolyanthony@accioly.social
2025-06-27

Some pretty cool features are coming in Go 1.25. Thanks to @antonz for the great compilation:

antonz.org/go-1-25/

#Golang #ProgrammingLanguages

Srijit Kumar Bhadrasrijit@fedi.social
2025-06-27

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

Julia
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

Haskell
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

1.
https://www.tiobe.com/tiobe-index/

#ProgrammingLanguages #Haskell #Julia #Python

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst