-
Notifications
You must be signed in to change notification settings - Fork 174
Description
Hello! Hope this is the right place for this.
I was reading Solid's Comparison With Other Libraries, which says:
Solid's RealWorld demo implementation is 25% smaller than Svelte's.
There is no link here, but this appears to refer to these two repos
https://github.com/solidjs/solid-realworld
https://github.com/sveltejs/realworld
I'm curious how this was measured. I ran cloc
on the src
folder for each project and I get 1248 lines for Solid and 1138 for Svelte (so the Svelte version is about 9% smaller) i.e. the opposite of what the website says. Perhaps I am measuring incorrectly? (Or perhaps the website referred to an older version of one or both projects?)
(Side note, looks like Svelte's RealWorld project is built with Svelte 3. The Svelte 5 version will probably be a bit bigger due to the more explicit coding style introduced with Runes https://svelte.dev/blog/runes)