← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 11
  1. The Open-Source Libraries Powering Fresh

    The Open-Source Libraries Powering Fresh Building Fresh would have been insanely hard if it weren't for these libraries.

  2. Type-safe enums in C, using a clang plugin

    The C programming language generally treats enums as integers (see “Appendix: For Language Lawyers” for reference).

  3. Safer C programming

    TL;DR - check out elfs-clang-plugins, cool plugins for clang made at elastifile.

  4. Const when you need it

    infernu uses row-type polymorphism to propagate read/write capabilities on record fields.

  5. Two implementations of DHM type inference

    Here are two simple implementations of Damas-Hindley-Milner type inference.

  6. In Python, don’t initialize local variables unnecessarily

    A common pattern: def foo(): x = some value # but do we need this?

  7. Beware of ‘var’ in for loops, JS programmers

    Time and time again, I see people using ‘var’ in the initialization part of a for loop.

  8. infernu news

    In the past month, most of the work on infernu was to stabilize the type system, making decisions about some trade-offs.

  9. A simple problem with recursive types and subtyping

    Here’s a simple example of recursive types interacting badly with subtyping: T={ foo: T -> A} U={ foo: U -> B} Consider T <: U, therefore (T -> A) <: (U -> B) Which implies: U <: T So T <: U but also U <: T, which is true iff A <: B and B <: A.

  10. Identity Crisis

    Compared to other tools adding static types to JavaScript, Infernu’s main strengths are full type inference and strong type safety.

  11. The wl-pprint package maintainer…

    …is now me.