codeworld VS haskell-template

Compare codeworld vs haskell-template and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
codeworld haskell-template
14 2
1,237 -
0.0% -
0.0 -
about 1 year ago -
Haskell
Apache License 2.0 -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

codeworld

Posts with mentions or reviews of codeworld. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-13.
  • Pedagogical Downsides of Haskell
    3 projects | news.ycombinator.com | 13 Apr 2023
    Code World[1] is a great project that addresses a number of the problems from the article, with an eye towards using Haskell to teach children basic math and programming simultaneously. Code World directly addresses a number of the obstacles outlined in this article:

    1. Using an online editor with a rich built-in library removes any toolchain problems.

    2. A custom standard library simplifies pedagogically unnecessary details like Foldable

    3. The custom standard library also avoids currying (f(a, b) for functions rather than f a b)

    4. Custom error messages improve the feedback students get from the compiler

    I would highly recommend Code World to anybody looking to teach programming with Haskell. If you want to teach Haskell in a way that fits the existing ecosystem, it's also possible to run Code World without the custom standard library[2].

    [1]: https://code.world/#

    [2]: https://code.world/haskell#

  • Ask HN: It's 2022. Where should I direct the youths to learn about programming?
    12 projects | news.ycombinator.com | 29 Apr 2022
    Loose connection, but made me remember https://code.world/ uses a Haskell-like functional language to define still pictures, animations, or even games.
  • My kid loves computers. I would like him to start programming, just for fun to see if it is something for him. But how to start, what type of programming language that is appealing. Books? I mean, we can start with Lisp, but how long will attention hold? Please advise, thanks.
    3 projects | /r/programming | 30 Jan 2022
  • Game
    3 projects | /r/haskellgamedev | 21 Dec 2021
    I second gloss! It's a bit limited (no sound, fonts, nor even text centering, but you do have support for vector and bitmap graphics, color manipulation, mouse, keyboard, and animations), but it's so, so easy to use that I not only recommend it (or the similar Code World) for anybody's first game, I still use it for my newer games.
  • Functional Programming in OCaml
    4 projects | news.ycombinator.com | 27 Jul 2021
    Two that I can think of:

    - Bootstrap teaches a toned-down version of Racket (i.e. Scheme): https://bootstrapworld.org/materials/spring2021/en-us/course... . It's taught in some schools as well as a comp sci curriculum.

    - https://code.world/ teaches using a toned-down version of Haskell. To my knowledge it's not used in schools.

  • Why I Support the Haskell Foundation
    2 projects | /r/haskell | 16 Jun 2021
    I had the silly 'fromString' error you get when using RebindableSyntax but had forgotten what to do next. Quick Google search and I hit on codeworld #59.
  • Safe Haskell?
    3 projects | /r/haskell | 16 Apr 2021
    I'm not a user myself, but I understand Lambdabot and mueval depend on it. More generally, anything that executes Haskell code supplied by untrusted users would fit the bill. I don't know if CodeWorld for example allows user-supplied modules, but if it did they'd have to be Safe.
  • Do you recommend using ghc-pkg? Do you use it and why?
    3 projects | /r/haskell | 16 Mar 2021
    I also have a list of about 300 or so packages at https://github.com/google/codeworld/blob/master/codeworld-available-pkgs/codeworld-available-pkgs.cabal, which I'd like Cabal to solve and find compatible versions to make available, preferably without listing them all on one massive command line! There are limits on the length of a command line. I don't know if cabal install --lib will expose packages that are dependencies, but not actually listed on the command line, in the resulting environment.
    3 projects | /r/haskell | 16 Mar 2021
    You know, now that you mention it, that sounds familiar. There's an issue for this at https://github.com/google/codeworld/issues/1182, and having cabal set up an environment file for GHC is mentioned there. There are some other complications: for example, with cabal v2-install, I can't seem to list multiple packages in local directories. So the answer to that seems to be creating a cabal.project file that lists them all... but then I want to install all of the packages from that cabal.project file into the environment, and their dependencies, and also make the consistent set of dependency versions that work with them (as chosen by Cabal's constraint solver) available in an environment for any further projects built against those same libraries.
  • Beginner Question on library
    2 projects | /r/haskell | 12 Mar 2021
    You could also use code.world with a guide here. It is meant as a beginner-friendly introduction to Haskell. It also has an online environment, so you won't need to install anything.

haskell-template

Posts with mentions or reviews of haskell-template. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-16.
  • Safe Haskell?
    3 projects | /r/haskell | 16 Apr 2021
    10:19 < gentauro> here we go again -> https://old.reddit.com/r/haskell/comments/msa3oq/safe_haskell/ 10:19 < gentauro> why the heck are people so eager to remove `Safe Haskell`? 10:20 < nut> I've used foldr the other day for traversing the list backwards: https://leetcode.com/problems/next-greater-element-i/discuss/1161837/6-lines-Haskell-Implementation 10:20 < gentauro> the single feature that makes Haskell unique and allow us to write `sound` code will be removed? 10:20 < gentauro> :( 10:20 < nut> But not sure about its performance 10:20 < gentauro> anybody of for designning a new programming language that takes Safe Haskell as the core? 10:22 < Rembane> nut: If you're doing O(1) in the function used in foldr, the whole thing should be O(n) 10:23 < nut> Rembane: and recursive function calls too, O(1) ? 10:24 < nut> I mean function calls should have a bit more overhead 10:24 < c_wraith> gentauro: because no one knows what it does, no one knows what it should do, and no one wants to maintain code that is clearly not used by enough people for there to be a shared understanding 10:24 < Rembane> nut: Almost none, and even if they have, they do not affect the O-part, it just adds a constant to each operation 10:26 < c_wraith> gentauro: most notably, no one agrees on what "safe" means, and Safe Haskell doesn't have an opinion. It just reports what modules say. 10:26 < gentauro> c_wraith: I would argue that people know what it does. It enforces "correctness". But, if you look enough into Haskell packages, you realize that (way) to many people tend to take the shortcuts and just `inject` here and there stuff 10:26 < gentauro> removing the possibility of a the users to rely on the packages 10:26 < nut> new question: my code contains plain text passwords for sending smtp emails. after compiling down to binary, is it safe to distrubute to others? can the password be recovered? 10:26 < gentauro> I personally find `Safe Haskell` as indispensable for Haskell 10:27 < gentauro> but sadly, I'm one of the very few 10:27 < c_wraith> Safe Haskell is useless because different modules mean different things by "safe" 10:27 < nut> the compiliation is done be ghc 10:27 < Cale_> Correctness with respect to what though? 10:27 < c_wraith> So it has no guarantees you can actually rely on 10:27 < gentauro> perhaps, I should join https://www.well-typed.com/ if they would allow me to work on the Safe Haskell full-time xD 10:28 * gentauro who would sponsor this? Simon Marlow (FB)? or SPJ (MS)? 10:28 < nut> or does ghc has some kind of mechanics to encrypt the code? 10:28 < gentauro> c_wraith: it does 10:29 < gentauro> when I turn on safe haskell, I can't use `Data.Text` because there is some `unsafePerformIO` 10:29 < gentauro> I like that GHC tells me that 10:29 < c_wraith> Only because the text package decided to tell you that 10:30 < c_wraith> If a package decided not to tell you, you wouldn't know 10:30 * gentauro «when I turn on safe haskell» should be «when I turn on safe haskell and add `-XSafe -fpackage-trust -trust = base`» 10:31 < gentauro> c_wraith: how come? How do you tell? 10:31 < gentauro> my understanding is that packages are infered to be safe or unsafe right? 10:31 < gentauro> by GHC 10:32 < gentauro> if a package is unsafe, you can't mark it as safe. You can mark it as trustworthy 10:32 < c_wraith> that only gets you unsafe things from base 10:32 < c_wraith> what about other unsafe things? 10:33 < gentauro> c_wraith: https://gitlab.com/uniprocess/haskell-template/-/blob/master/pkg/uniprocess/package.yaml#L37-47 10:34 < gentauro> this is how I trust packages that I want to use 10:34 < c_wraith> If you're trusting array, you've already got no safety 10:35 < gentauro> c_wraith: how come? 10:36 < gentauro> you understand that you are allowed to use FFI and code is still Safe right? http://blog.stermon.com/articles/2019/02/04/haskell-usage-of-malloc-free-is-safe.html 10:36 < gentauro> it's the way you expose your logic 10:37 < gentauro> in my snippet, I use a lot of FFI, but, since all my logic exposes IO in the signatures it's fine as the consumer will understand that something happens under the hood 10:38 < gentauro> what tends to happen with a lot of libraries is that `peeps` hide `IO`. Search (CTRL+F Main.hs) http://blog.stermon.com/articles/2019/02/09/haskell-bitonic-sorter-concurrent.html 10:39 < gentauro> you can see that I `remove` IO in `trust = unsafePerformIO . sort`. If I do this, I need to tell people using my logic that "I'm doing some `nasty` stuff under the hood, so be aware"
    3 projects | /r/haskell | 16 Apr 2021
    https://gitlab.com/uniprocess/haskell-template/-/blob/master/pkg/uniprocess/package.yaml#L37-47

What are some alternatives?

When comparing codeworld and haskell-template you can also consider the following projects:

Cabal - Official upstream development repository for Cabal and cabal-install

dune - A composable build system for OCaml.

reanimate - Haskell library for building declarative animations based on SVG graphics

scratchjr - With ScratchJr, young children (ages 5-7) can program their own interactive stories and games.

sdl2-snake - An example application for sdl2.

hack-assembler - A Hack assembler in OCaml. A program that translates assembly code for the Hack computer into its binary representation.

PulseSensorPlayground - A PulseSensor library (for Arduino) that collects our most popular projects in one place.

retro-httpaf-bench - Benchmarking environment for http servers

Think-Python-2E-My_solutions - My solutions to the exercises contained in the "Think Python 2nd Edition" book by Allen B. Downey.

sense-lang - Sense is a very high level, functional programming language for creating software by writing only the absolute necessary information and not a single line above that.

awesome-haskell-sponsorship - 💝 Haskell profiles to sponsor

awesome-nocode-lowcode - A curated list of awesome nocode / lowcode applications to build other applications