frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Fast Mojo implementation of classic Word2Vec algorithm

https://github.com/benjismith/word2vec-mojo
2•benjismith•46m ago

Comments

benjismith•46m ago
I've been using the classic word2vec implementation for many years to produce text embeddings for a variety of workloads.

It was written by Tomas Mikolov at Google in 2013 and written in C:

https://code.google.com/archive/p/word2vec/

But with Mojo 1.0 finally officially released this week, I wanted to see if me and my buddy Claude could improve on both the performance and clarity of the implementation.

This new implementation benchmarks at 3.3x faster than the classic C implementation (single-threaded) and 1.8x faster (with 8 threads). This was measured on my M2 Pro MBP from 2023, where I'm fully saturating the memory bandwidth, so more recent chipsets with faster memory buses might have even better relative performance.

I'm interested in getting benchmarks from users on more recent M series chips, and users on other platforms as well! Try it out and submit a PR with your measurements.

But the real win is: clarity. In this implementation, I wanted the code to be readable and well-commented, so that it acts as a teaching tool for implementing fast code in Mojo as well as understanding how the machine learning algorithm works.

Leveraging Requirements Engineering for AI Coding Tool Success

https://cacm.acm.org/news/leveraging-requirements-engineering-for-ai-coding-tool-success/
1•adunk•1m ago•0 comments

The Harness Is the Bottleneck

https://www.chrismdp.com/the-harness-is-the-bottleneck/
1•speckx•1m ago•0 comments

I built a lint for AI-generated evidence

https://apify.com/filipmajchrzak/ai-claim-checkpoint
1•fmajchrzak•2m ago•0 comments

Silver Lake in talks to buy Workday, sources say

https://www.reuters.com/world/silver-lake-talks-buy-workday-sources-say-2026-08-13/
2•JumpCrisscross•3m ago•0 comments

SilkCode – Tired of resets/limits with Claude but better than Codex

https://silkcode.web.app/
1•amonte•6m ago•0 comments

Yaak.ai Physical AI OS: copper-rs

https://www.yaak.ai/blog/yaak-x-copper
1•gbin•8m ago•0 comments

Caterpillar Technical English agent skill

https://github.com/IgaoGuru/caterpillar-technical-english
1•falso•8m ago•2 comments

TikTok finfluencers: How reliable is their financial advice to young investors?

https://www.euronews.com/my-europe/2026/08/13/tiktoks-finfluencers-how-reliable-is-the-financial-...
4•devonnull•8m ago•0 comments

Building a Minecraft Computer Taught Me More About CPUs Than University Did

https://tonyist.xyz/building-a-redstone-computer/
1•ReFruity•10m ago•0 comments

Northwest Indiana residents dealing with 'largest outage event on record'

https://wgntv.com/northwest-indiana/northwest-indiana-residents-dealing-with-largest-outage-event...
2•Ariarule•11m ago•2 comments

The Making of Cursor's Icons

https://www.minoradventures.co/blog/the-making-of-cursors-icons
1•ananmays•15m ago•0 comments

Airbnb Eval-driven development: Lessons from evaluating GenAI at scale

https://medium.com/airbnb-engineering/eval-driven-development-lessons-from-evaluating-genai-at-sc...
1•sebg•16m ago•0 comments

My app for Shipaton 2026: Two Weeks In

https://darrylbayliss.net/im-building-for-shipaton-2026-week-two/
2•darryl_bayliss•17m ago•1 comments

How Organizations Use AI: Evidence from ChatGPT [pdf]

https://cdn.openai.com/pdf/how-organizations-use-chatgpt.pdf
2•malshe•17m ago•0 comments

Romania shuts only nuclear plant as heat causes drop in Danube River level

https://www.bbc.com/news/articles/cqlxpq5q799o
5•tartoran•18m ago•1 comments

CheeseChain

https://www.csg.uzh.ch/en/research/CheeseChain.html
2•mooreds•19m ago•0 comments

Namecheap has been down for six hours

https://twitter.com/namecheapceo/status/2087931259389464611
3•janpmz•20m ago•0 comments

µ-Boosting Your CMake Productivity with Environment Variables

https://www.kdab.com/%C2%B5-boosting-your-cmake-productivity-with-environment-variables/
2•dalvrosa•21m ago•0 comments

Ask HN: How much money do you spend monthly on subscriptions for AI models?

3•marko-djuric•21m ago•5 comments

Swinth – By Sung J. Woo

https://www.goto10retro.com/p/the-history-of-swinth
2•rbanffy•22m ago•0 comments

Jeff Dean: The 1% Rule for Building in AI [video]

https://www.youtube.com/watch?v=CxXgV54KzpQ
3•Anon84•22m ago•0 comments

The Buzzword-Driven Development Manifesto (AI Edition)

https://github.com/gabert/buzzword-driven-development
2•gabert•23m ago•0 comments

Perseids Meteor Shower

https://science.nasa.gov/solar-system/meteors-meteorites/perseids/
3•wslh•23m ago•0 comments

Reviewing the evidence on worker retraining programs

https://www.anthropic.com/research/reviewing-the-evidence-on-worker-retraining-programs
2•neversaydie•24m ago•0 comments

Thoughts on "SIMD in Pure Python" – purplesyringa's blog

https://purplesyringa.moe/blog/thoughts-on-simd-in-pure-python/
2•rbanffy•25m ago•0 comments

Innovations of SolidJS 2

https://www.brenelz.com/posts/innovations-of-solid-2/
3•unlog•26m ago•0 comments

Iluvatar – classifies an app idea into CS terms before any tech gets named

https://github.com/RudVlad473/iluvatar
3•RudVlad473•26m ago•0 comments

Python Type System and Tooling Survey 2026

https://www.surveymonkey.com/r/python_typing
2•rbanffy•27m ago•0 comments

Show HN: Pixy, visual editor for coding agents, like Figma on your live site

https://pixydesignapp.com/
4•astroscout•27m ago•3 comments

Intelligence CIOs Warn AI Agents Could Accelerate Cyberattacks

https://govciomedia.com/intelligence-cios-warn-ai-agents-could-accelerate-cyberattacks/
5•jethronethro•28m ago•0 comments