Comment by wolvoleo

Comment by wolvoleo 7 hours ago

11 replies

Why would you bother using Swift if you're not targeting Apple? I can imagine wanting to use it for something cross-platform that is primarily an ios/macos thing.

But if you don't want to include those I wouldn't pick a language that's under control of a company I don't use.

It's a bit like using c# or powershell on Linux. Yes it can be done and it's helpful for cross platform with windows but I wouldn't consider it a first class citizen.

latexr 7 hours ago

> Why would you bother using Swift if you're not targeting Apple?

For the reasons stated in the article.

behnamoh 7 hours ago

> I wouldn't pick a language that's under control of a company

Hmm...

TypeScript: Microsoft

Rust: Mozilla

Go: Google

Java: Oracle

By your logic we should be programming in Common Lisp.

==========

Edit:

    - Rust: Mozilla
    + Rust: Rust Foundation
  • shawn_w 7 hours ago

    >... under control of a company I don't use.

    You left out an important part of the GP's comment.

    >By your logic we should be programming in Common Lisp.

    I wish. (Scheme is acceptable too)

    • tialaramex 6 hours ago

      I was talking about this at a party this afternoon (yes, I do go to the most interesting parties, thanks) and while Scheme is acceptable the Common Lisp is not because it's not OK to go without boolean primitives. Types are a good idea, if you have types the simplest is clearly the boolean, so start there.

      I believe firmly that there should be a single true value, which we might reasonably name true, and a single false value, false, other values aren't booleans, so it's no more reasonable to ask whether an empty string is false, than to just forget to close the quote marks on a string. What we wrote isn't a correct program.

      • shawn_w 6 hours ago

        Scheme has a single false value (#f) but everything else is considered true...

      • behnamoh 5 hours ago

        Any Lisp w/o image support is no true Lisp in my book. That leaves us with only Common Lisp and Janet.

        The others (Scheme, Clojure, etc.) are just Lispy syntax but lack the true "soul" of Lisp-style development.

  • scns 7 hours ago

    > Rust: Mozilla

    Nope. Not anymore, several years maybe?

  • stackghost 3 hours ago

    Common Lisp is actually a great language. The SBCL implementation has a good compiler that produce reasonably fast code, and it's under active development.

    The only real drawback to common lisp is the fact that the library ecosystem is practically non-existent.

  • WD-42 7 hours ago

    You forgot the most popular language in the world right now:

    Python: The Python Software Foundation

    Turns out two of the best languages don't need corporate overlords to steer their development.

    • geysersam 4 hours ago

      Not to mention C, C++, JS, PHP, bash. Hell there are so many great languages not controlled by big companies.

    • tayo42 4 hours ago

      Could that happen today though? I think python started in a very different world then today.

      Alot of its current popularity is becasue big companies developed the libraries that make up the foundation of Ai with it.