programming language

  1. Alain De Vos

    And now for something completely different, insertion sort in gleam language.

    pkg install rebar3 gleam gleam new sortme ./src/sortme.gleam import gleam/io import gleam/string fn insert(element: Int, sorted_list: List(Int)) -> List(Int) { io.print("Insert: " <> string.inspect(element) <> "::" <> string.inspect(sorted_list) <> "\n") case sorted_list {...
  2. Alain De Vos

    The GLEAM language, example sqlite database.

    In the list of interesting languages there is GLEAM. Just like ELIXIR it runs on BEAM. But has static compile time type checking. First install packages, pkg install rebar3 pkg install gleam Make new gleam project gleam new demo1 cd demo1 mkdir ./src Edit file ./src/demo1.gleam...
  3. H

    How to learn tcl language in less than an hour

    From the beginning I liked tcl mainly because of: a) Its simplicity and coherence, not bloated and easy to learn syntax. b) The way it separately denote variable names and variable values that allows to construct strings in an intuitive way. c) Its LISP taste, but not inflated with...
  4. Alain De Vos

    ada is not dead , it even gained in popularity

    fyi, https://gitlab.com/alaindevos/adatut
  5. J

    Swift (the programming language) on FreeBSD

    I am trying to make the Swift compiler work on FreeBSD and could appreciate some help. Swift 5.10.1 with my not-yet-published changes builds successfully on FreeBSD/arm64 13.4 and most of the tests in its test suite pass. My plan is to create a port/package for 5.10.1 and subsequently use that...
  6. apprentice

    C Need guidance for programming in C on FreeBSD

    System: FreeBSD 14 I'm new to FreeBSD, coming from Linux and have always used gcc. In FreeBSD so I can compile in C and C++ what should I use? Thanks.
  7. Alain De Vos

    Poll higher level language

    Which "higher level language" do use and for which "specific "purpose ?
  8. S

    Other Zig lang programming language

    Zig seems like a near ideal combination of C++, D and Rust. Ziglang: works around C has many safety and checking features of Rust syntax is C like and is simpler than C++ and Rust made for portability dependencies are simple: cmake, llvm12, ninja MIT licensed Hopefully lang/zig or something...
  9. sniper007

    Sh, Bash, Perl, . . .

    Hi! I'm just curious why for most scripting sh language and not bash ? So when use bash and when sh for write some script ?
Back
Top