Urgent.News

What's breaking now, across thousands of outlets.

Tech

Pudu Programming Language

Pudu is a statically typed, expression-oriented programming language that I’m designing for building services, developer tools, and native applications. The project is still young and is currently moving toward its first 0.1.0 pre-release, but it has grown well beyond the stage of being a syntax experiment. Today, the repository contains the language implementation, standard library, testing…

Pudu is a new programming language in development, designed for creating services, developer tools, and native applications. Although it is still in its early stages, it already includes the language implementation, standard library, testing infrastructure, development tools, editor integration, documentation, examples, and foundational ecosystem components.

The source code can be accessed on GitHub at https://github.com/chrismichaelps/pudu-lang. The motivation behind creating Pudu is to explore a unique combination of language features, as opposed to simply creating another good language like Rust, Haskell, OCaml, Go, or TypeScript. One key idea in Pudu is that important uncertainties in a program should be visible, such as the potential for an operation to fail or a value to be absent.

This visibility is achieved through explicit type representations and clear syntax. Pudu's error handling approach encourages failure to be represented as a value, allowing for easier detection and handling of recoverable errors. Additionally, Pudu adopts an expression-oriented design, which promotes code composition and easier reasoning about data flow by allowing values to be directly used in expressions, rather than relying on temporary mutable state.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I Built a Football Data Analysis Pipeline From 220,000 Matches

For academic research only. Not betting advice. GitHub : MENG-COOLMAN/PitchQuant — MIT license, free to use. The TL;DR Six months. 227,000 matches.

  • Researcher analyzed 227,000 football matches to find hidden insights in odds
  • Weak-consensus trap: favorite wins 36-43% of the time when market is not strongly convinced
  • Deceptive low odds: Home odds below 1.30 may reduce actual home wins significantly

More from Saturday 19 September →