programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Noughtmare to HaskellEnglish · 1 year ago

Search Index in 150 Lines of Haskell

entropicthoughts.com

external-link
message-square
4
link
fedilink
  • cross-posted to:
  • [email protected]
9
external-link

Search Index in 150 Lines of Haskell

entropicthoughts.com

Noughtmare to HaskellEnglish · 1 year ago
message-square
4
link
fedilink
  • cross-posted to:
  • [email protected]

I stumbled over Bart de Goede’s article on building a full-text search engine in 150 lines of Python, and was reminded of my quest to show how useful Haskell is for solving real-world problems. Python is an eminently practical language, so nobody is surprised this can be done in Python. But Haskell? The Python code spends a lot of time updating mutable dictionaries. Surely we cannot easily port this code over to Haskell.

Let’s find out.

  • gedhrel@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Yes! Steele’s Fortress-era talks are amazing. Really thought-provoking.

Haskell

haskell

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 10 users / day
  • 11 users / week
  • 21 users / month
  • 75 users / 6 months
  • 157 local subscribers
  • 631 subscribers
  • 191 Posts
  • 68 Comments
  • Modlog
  • mods:
  • haskman
  • BE: 0.19.18
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org