Hacker GitHub

← All repos

manifold-systems/manifold

View on GitHub ↗ ★ 2,765 Java

Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.

125 mentions on Hacker News by 13 people: 50 stories, 75 comments · first 2018-10-30 · latest 2026-07-23

Mentions per year 125 mentions · busiest year 2024 (33)
20082026
  1. …out.println(dude.getName()); out.println(dude.getAge()); out.println(dude.getAddress().getCity()); https://github.com/manifold-systems/manifold
    comment by owlstuffing · 2026-07-23 · in JEP 540: Simple JSON API (Now in Incubator)
  2. Analytics with type-safe raw SQL (including DuckDb’s awesome extensions) is pure gold: https://github.com/manifold-systems/manifold/blob/master/doc...
    comment by owlstuffing · 2026-04-14 · in Design and implementation of DuckDB internals
  3. …Manifold which is a compiler extension to Java that adds every little feature to the language. https://github.com/manifold-systems/manifold
    comment by vips7L · 2026-04-08 · in Union types in C# 15
  4. F# units are handy, but nothing like Manifold units (Java): https://github.com/manifold-systems/manifold/tree/master/man...
    comment by owlstuffing · 2026-04-08 · in Union types in C# 15
  5. …to implementation inheritance. The manifold project provides true delegation [1] for Java. 1. https://github.com/manifold-systems/manifold/blob/master/man...
    comment by owlstuffing · 2026-03-18 · in Java 26 is here
  6. …experiments with language-level delegation to make interface composition practical with Java. https://github.com/manifold-systems/manifold/blob/master/man...
    comment by owlstuffing · 2026-03-18 · in Java 26 is here
  7. …type attribution phase does a binding expression's structure resolve based on the operand types. https://github.com/manifold-systems/manifold/tree/master/man... > in typical code you don’t have the case of constant values so often. Agreed.…
    comment by owlstuffing · 2026-03-10 · in Rethinking Syntax: Binding by Adjacency
  8. …blindly exploring every syntactic alternative. Here is the high-level explanation of the mechanism: https://github.com/manifold-systems/manifold/tree/master/man... But the short answer is that it’s not parser-style backtracking over a…
    comment by owlstuffing · 2026-03-10 · in Rethinking Syntax: Binding by Adjacency
  9. …on their static types, forming new expressions through type-directed resolution. Details here: https://github.com/manifold-systems/manifold/blob/master/doc...
    comment by owlstuffing · 2026-03-08 · in Rethinking Syntax: Binding by Adjacency
  10. Something parallel to this and completely amazing: manifold-sql[1]. 1. https://github.com/manifold-systems/manifold/blob/master/man...
  11. …modern language. Structural typing not so much, though. Java has it through a compiler extension ( https://github.com/manifold-systems/manifold/tree/master/man... ) but I don't know many other languages that support this feature. As much…
  12. …LIMIT 3 """ .fetch() .forEach(row -> out.println(row.stationName + ": " + row.numServices)); 1. https://github.com/manifold-systems/manifold/blob/master/doc...
  13. …Manifold that provides type-safe SQL just like the author wants, with IDE support and everything: https://github.com/manifold-systems/manifold/blob/master/man...
    comment by brabel · 2025-10-18 · in What Dynamic Typing Is For
  14. …select * from film where release_year > :rel_year".fetch(year)) { out.println(film.title); } 1. https://github.com/manifold-systems/manifold/blob/master/man...
    comment by owlstuffing · 2025-07-29 · in SQLx – Rust SQL Toolkit
  15. …on their static types, forming new expressions through type-directed resolution. Details here: [ https://github.com/manifold-systems/manifold/blob/master/doc... ]( https://github.com/manifold-systems/manifold/blob/master/doc... )
    comment by owlstuffing · 2025-07-22 · in Rethinking Syntax: Binding by Adjacency
  16. …"Joe", age: 35); . . . Person p = person; // tuple's name, age properties satisfy Person record 1. https://github.com/manifold-systems/manifold
    comment by owlstuffing · 2025-07-18 · in Row Polymorphic Programming
  17. …types where function result types and parameter types define variance and other constraints. 1. https://github.com/manifold-systems/manifold
    comment by owlstuffing · 2025-07-18 · in Row Polymorphic Programming
  18. …Paired with manifold[1]--a Java library that makes it all type safe--and it's a game changer. 1. https://github.com/manifold-systems/manifold/blob/master/doc...
  19. …this via compiler plugin. The manifold-sql[1] module provides inline, type safe, native SQL. 1. https://github.com/manifold-systems/manifold/blob/master/man...
  20. …manifold project for SQL[1], which has fantastic support for type-safe, native DuckDB syntax. 1. https://github.com/manifold-systems/manifold/blob/master/man...
  21. …that muscles in operator overloading pretty comprehensively, and works with all LTS JDKs. 1. https://github.com/manifold-systems/manifold/tree/master/man...
    comment by owlstuffing · 2025-04-19 · in Growing a Language [pdf] (1998)
  22. …JSON, XML, SQL, GraphQL, and even other languages in a seamless, type-safe way. 1. https://github.com/manifold-systems/manifold
    comment by owlstuffing · 2025-04-02 · in Why F#?
  23. CSV is everywhere. I use manifold-csv[1] it’s amazing. 1. https://github.com/manifold-systems/manifold/tree/master/man...
    comment by owlstuffing · 2025-03-26 · in A love letter to the CSV format
  24. …m/s/s; // 49.035 Newtons Force f = 49.035 kg m/s/s; force == f // true force == 49.035 N // true 1. https://github.com/manifold-systems/manifold/tree/master/man... *
    comment by owlstuffing · 2025-03-22 · in Frink
  25. …a lot more capability. I’m using the manifold-sql[1] project with duckdb for analytics, amazing. 1. https://github.com/manifold-systems/manifold/blob/master/doc...
    comment by owlstuffing · 2025-03-12 · in The DuckDB Local UI
  26. For those wishing Java had a similar feature, there's Manifold: https://github.com/manifold-systems/manifold/tree/master/man... Manifold is a very interesting project that adds a lot of useful features to Java (operator overloading,…
  27. …see it, particularly wrt the type system, to be taken seriously as a Java contender. Shrug. 1. https://github.com/manifold-systems/manifold/blob/master/man...
    comment by owlstuffing · 2025-02-19 · in One year after switching from Java to Go
  28. Something like manifold-sql[1] for ts would be awesome. 1. https://github.com/manifold-systems/manifold/blob/master/man...
    comment by owlstuffing · 2024-12-06 · in Litdb – type safe SQL for JavaScript/TS
  29. …my sentiments too. I was expecting type-safe SQL . The manifold-sql[1] project has this down. 1. https://github.com/manifold-systems/manifold/blob/master/man...
    comment by owlstuffing · 2024-12-06 · in Litdb – type safe SQL for JavaScript/TS
  30. …for SQL, but it’s obviously providing its own static metaprogramming layer over Java. Shrug. 1. https://github.com/manifold-systems/manifold/blob/master/man...
    comment by owlstuffing · 2024-12-01 · in Rails is better low code than low code
  31. …it. Something like project manifold[1] for the jvm world is in my view the way forward. Shrug. 1. https://github.com/manifold-systems/manifold
  32. …support etc. to make working with and reading code using quantities more productive in Java. 1. https://github.com/manifold-systems/manifold/tree/master/man... 2. https://github.com/manifold-systems/manifold/tree/master/man...
    comment by owlstuffing · 2024-10-09 · in Show HN: Kotlin Money
  33. …the amounts separately and uses exchange rates only for spot display/calc, transfer, etc. 1. https://github.com/manifold-systems/manifold/tree/master/man...
    comment by owlstuffing · 2024-10-08 · in Show HN: Kotlin Money
  34. …does little to facilitate his position. The library mentioned here works toward a remedy[1]. 1. https://github.com/manifold-systems/manifold/blob/master/man...
  35. …provide, and innovates in some uniquely awesome ways like type-safe SQL, true delegation, etc. 1. https://github.com/manifold-systems/manifold
    comment by owlstuffing · 2024-08-29 · in A Java language cumulative feature rollup
  36. …feature deficient. But you can use compiler plugins like the manifold project[1] to level up. 1. https://github.com/manifold-systems/manifold
    comment by owlstuffing · 2024-03-19 · in Java 22 Released
  37. …project[1] is similar, but goes a bit further with complete type-safe native SQL support. [1] https://github.com/manifold-systems/manifold/blob/master/man...
  38. …unit expression[1] approach where the unit and domain type are integrated and always reconciled. 1. https://github.com/manifold-systems/manifold/tree/master/man...
    comment by owlstuffing · 2024-02-28 · in Universal domain types
  39. …is for java, it does all that and more, particularly the IDE dev productivity stuff. 1. https://github.com/manifold-systems/manifold/blob/master/man...
  40. Even better: type-safe SQL in Java. https://github.com/manifold-systems/manifold/blob/master/man...
    comment by owlstuffing · 2024-02-13 · in Emulating C# LINQ in Java Using Code Reflection
  41. …the "no one ever got fired for buying IBM" cliche, the same can be said today about Springboot. 1. https://github.com/manifold-systems/manifold/blob/master/man...
  42. …for this, and having the ability to transform English directly to SQL type-safely is amazing. 1. https://github.com/manifold-systems/manifold/blob/master/man...
  43. Using manifold-graphql[1], at least on the client side, has had a similar productivity gain here. 1. https://github.com/manifold-systems/manifold/tree/master/man...
    comment by owlstuffing · 2024-01-20 · in GraphQL and the Beads on a String
  44. …project for Java lets you write unit expressions directly. Force force = 5kg * 9.807 m/s/s; 1. https://github.com/manifold-systems/manifold/tree/master/man...
  45. …eg. in-line type-safe SQL, GraphQL, etc. Mind bending, beyond next generation level stuff. 1. https://github.com/manifold-systems/manifold
    comment by owlstuffing · 2023-11-14 · in .NET 8
  46. Nice. Java has what looks like SQLx on steroids with the manifold project coming down the pike. https://github.com/manifold-systems/manifold/blob/master/man...
  47. Java has this too with the Manifold[1] project. It’s mind blowing. 1. https://github.com/manifold-systems/manifold
  48. …I’ve been experimenting with project manifold[1]. _That_ is the path Java sb on. Just my take. 1. https://github.com/manifold-systems/manifold
    comment by owlstuffing · 2023-09-23 · in Java 21: The Nice, the Meh, and the Momentous
  49. I’m using project manifold’s string templates[1] and loving it. 1. https://github.com/manifold-systems/manifold/tree/master/man...
    comment by owlstuffing · 2023-09-19 · in JDK 21 Release Notes
  50. …features it adds structural typing [1], which is essentially interfaces typescript interfaces. 1. https://github.com/manifold-systems/manifold/tree/master/man...
    comment by owlstuffing · 2023-09-18 · in Java 21 makes me like Java again