Dactyloidae Browser (Basilisk fork)

Discussions about applications built on our platform code that do not have a dedicated board.

Moderators: trava90, athenian200

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1682
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Dactyloidae Browser (Basilisk fork)

Post by athenian200 » 2026-03-28, 09:10

The one thing that jumps out at me that I am not sure I'd want to upstream (at least on Windows) is the override of the system memcpy. I'm pretty sure the memcpy included in MSVC's CRT is probably better than a handwritten version using SSE2...

I checked, and MSVC actually implements memcpy as raw ASM that can take advantage of SSE and AVX where available, meaning it's probably faster than any C or C++ implementation could be.

Granted, I am not an expert on code review here, but that's my naive intuition as a former CompSci student who didn't graduate due to being bad at Calculus, but otherwise got a lot of the other lessons.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
ownedbywuigi
Fanatic
Fanatic
Posts: 138
Joined: 2026-03-09, 21:48
Location: United Kingdom

Re: Dactyloidae Browser (Basilisk fork)

Post by ownedbywuigi » 2026-03-28, 09:28

athenian200 wrote:
2026-03-28, 09:10
The one thing that jumps out at me that I am not sure I'd want to upstream (at least on Windows) is the override of the system memcpy. I'm pretty sure the memcpy included in MSVC's CRT is probably better than a handwritten version using SSE2...

I checked, and MSVC actually implements memcpy as raw ASM that can take advantage of SSE and AVX where available, meaning it's probably faster than any C or C++ implementation could be.

Granted, I am not an expert on code review here, but that's my naive intuition as a former CompSci student who didn't graduate due to being bad at Calculus, but otherwise got a lot of the other lessons.
I’ll do a test build with the MSVC memcpy tonight and see if performance increases
Windows Server 2022, i9 9900K, 32GB DDR4, GTX 970, Dactyloidae 13.1
OS X Monterey, 2013 Mac Pro, Xeon e5-1650v2, 2x FirePro D500, 64GB DDR3, Dactyloidae 13.1

User avatar
ownedbywuigi
Fanatic
Fanatic
Posts: 138
Joined: 2026-03-09, 21:48
Location: United Kingdom

Re: Dactyloidae Browser (Basilisk fork)

Post by ownedbywuigi » 2026-03-28, 10:58

UPDATE: Turns out like 2 of my modifications HURT performance, so I'm reverting those. Working on trying to fix occasional browser "hiccups" and high RAM usage (800MB RAM on YT and this forum)
Windows Server 2022, i9 9900K, 32GB DDR4, GTX 970, Dactyloidae 13.1
OS X Monterey, 2013 Mac Pro, Xeon e5-1650v2, 2x FirePro D500, 64GB DDR3, Dactyloidae 13.1

jarsealer
Moon lover
Moon lover
Posts: 82
Joined: 2025-08-03, 23:56

Re: Dactyloidae Browser (Basilisk fork)

Post by jarsealer » 2026-03-28, 22:05

ownedbywuigi wrote:
2026-03-27, 17:20
UCyborg wrote:
2026-03-27, 14:53
Name really doesn't go off the tongue. xD
Couldn't think of a better name.
Basiliscus (https://www.merriam-webster.com/dictionary/Basiliscus), Basilides (doesn't make sense meaning wise tho, https://en.wikipedia.org/wiki/Basilides)
Pale Moon, Basilisk and SeaLion arm64 user, on Raspberry Pi 5 (8 GB RAM)

User avatar
Gemmaugr
Astronaut
Astronaut
Posts: 551
Joined: 2025-02-03, 07:55

Re: Dactyloidae Browser (Basilisk fork)

Post by Gemmaugr » 2026-03-28, 22:20

ownedbywuigi wrote:
2026-03-27, 17:20
Couldn't think of a better name.
At least it's not Quetzalcoatlus.. How about Kirin?
"Judge a person not by their superficial identity attributes, but by the content of their character."
"Organized Identity Politics are the bane of civilized society."
"Cognitive dissonance hypocrisy is a pandemic."
"Capitalism is the worst form of economic system, except for all the others."

User avatar
ownedbywuigi
Fanatic
Fanatic
Posts: 138
Joined: 2026-03-09, 21:48
Location: United Kingdom

Re: Dactyloidae Browser (Basilisk fork)

Post by ownedbywuigi » 2026-03-29, 06:55

Gemmaugr wrote:
2026-03-28, 22:20
ownedbywuigi wrote:
2026-03-27, 17:20
Couldn't think of a better name.
At least it's not Quetzalcoatlus.. How about Kirin?
I already bought the domain so I guess it’s too late lol
Windows Server 2022, i9 9900K, 32GB DDR4, GTX 970, Dactyloidae 13.1
OS X Monterey, 2013 Mac Pro, Xeon e5-1650v2, 2x FirePro D500, 64GB DDR3, Dactyloidae 13.1

User avatar
ownedbywuigi
Fanatic
Fanatic
Posts: 138
Joined: 2026-03-09, 21:48
Location: United Kingdom

Re: Dactyloidae Browser (Basilisk fork)

Post by ownedbywuigi » 2026-03-29, 07:51

13.0 prerelease 2 out now
https://repo.dactyloidae.xyz/Dactyloida ... /13.0-pre2

I want to branch out to a Linux build by the time 13.0 becomes stable, but mach (at least on my fork) seems to hate me on Linux
Windows Server 2022, i9 9900K, 32GB DDR4, GTX 970, Dactyloidae 13.1
OS X Monterey, 2013 Mac Pro, Xeon e5-1650v2, 2x FirePro D500, 64GB DDR3, Dactyloidae 13.1

User avatar
ownedbywuigi
Fanatic
Fanatic
Posts: 138
Joined: 2026-03-09, 21:48
Location: United Kingdom

Re: Dactyloidae Browser (Basilisk fork)

Post by ownedbywuigi » 2026-03-29, 10:58

ownedbywuigi wrote:
2026-03-28, 10:58
UPDATE: Turns out like 2 of my modifications HURT performance, so I'm reverting those. Working on trying to fix occasional browser "hiccups" and high RAM usage (800MB RAM on YT and this forum)
Can confirm pre2 now FULLY FIXES the "browser hiccups" except for loading in a site for the first time.

This is fucking big.

STABLE 13.0 TOMORROW.
Windows Server 2022, i9 9900K, 32GB DDR4, GTX 970, Dactyloidae 13.1
OS X Monterey, 2013 Mac Pro, Xeon e5-1650v2, 2x FirePro D500, 64GB DDR3, Dactyloidae 13.1

User avatar
UCyborg
Keeps coming back
Keeps coming back
Posts: 885
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: Dactyloidae Browser (Basilisk fork)

Post by UCyborg » 2026-03-29, 12:20

How do you wizards figure these things out?

User avatar
ownedbywuigi
Fanatic
Fanatic
Posts: 138
Joined: 2026-03-09, 21:48
Location: United Kingdom

Re: Dactyloidae Browser (Basilisk fork)

Post by ownedbywuigi » 2026-03-29, 12:21

fuck it we ball
13.0 "Warp" out now, now the fastest XUL browser (until it gets upstreamed)
https://repo.dactyloidae.xyz/Dactyloida ... s/tag/13.0
Windows Server 2022, i9 9900K, 32GB DDR4, GTX 970, Dactyloidae 13.1
OS X Monterey, 2013 Mac Pro, Xeon e5-1650v2, 2x FirePro D500, 64GB DDR3, Dactyloidae 13.1

User avatar
UCyborg
Keeps coming back
Keeps coming back
Posts: 885
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: Dactyloidae Browser (Basilisk fork)

Post by UCyborg » 2026-03-29, 17:37

Wait, is there supposed to be much difference from before? Though my combination of extensions might be problematic.

The problem I outlined here is still present.

User avatar
ownedbywuigi
Fanatic
Fanatic
Posts: 138
Joined: 2026-03-09, 21:48
Location: United Kingdom

Re: Dactyloidae Browser (Basilisk fork)

Post by ownedbywuigi » 2026-03-29, 19:22

UCyborg wrote:
2026-03-29, 17:37
Wait, is there supposed to be much difference from before? Though my combination of extensions might be problematic.

The problem I outlined here is still present.
Not much, it's just pre2 with it's internal version changed to 52.9 again for better extension support

Will look into the issue though, will hopefully be fixed by 13.1
Windows Server 2022, i9 9900K, 32GB DDR4, GTX 970, Dactyloidae 13.1
OS X Monterey, 2013 Mac Pro, Xeon e5-1650v2, 2x FirePro D500, 64GB DDR3, Dactyloidae 13.1

User avatar
ownedbywuigi
Fanatic
Fanatic
Posts: 138
Joined: 2026-03-09, 21:48
Location: United Kingdom

Re: Dactyloidae Browser (Basilisk fork)

Post by ownedbywuigi » 2026-03-29, 22:14

Update on 13.1, I got (mostly) stable e10s, making that only one page freezes instead of the whole browser. Only regression is the backspace keeps on making the page go back for some reason, which I will try to fix.

EDIT: REGRESSION FIXED. E10S IS FULLY STABLE!!
Windows Server 2022, i9 9900K, 32GB DDR4, GTX 970, Dactyloidae 13.1
OS X Monterey, 2013 Mac Pro, Xeon e5-1650v2, 2x FirePro D500, 64GB DDR3, Dactyloidae 13.1

q160765803
Moon lover
Moon lover
Posts: 93
Joined: 2023-04-13, 07:57

Re: Dactyloidae Browser (Basilisk fork)

Post by q160765803 » 2026-03-30, 08:10

ownedbywuigi wrote:
2026-03-29, 22:14
Update on 13.1, I got (mostly) stable e10s, making that only one page freezes instead of the whole browser. Only regression is the backspace keeps on making the page go back for some reason, which I will try to fix.

EDIT: REGRESSION FIXED. E10S IS FULLY STABLE!!
Wow. but I wonder if your newly added SSE2 codes will affect on SSE(not SSE2) or even IA32(no any of SSE) builds?

User avatar
ownedbywuigi
Fanatic
Fanatic
Posts: 138
Joined: 2026-03-09, 21:48
Location: United Kingdom

Re: Dactyloidae Browser (Basilisk fork)

Post by ownedbywuigi » 2026-03-30, 09:58

q160765803 wrote:
2026-03-30, 08:10
ownedbywuigi wrote:
2026-03-29, 22:14
Update on 13.1, I got (mostly) stable e10s, making that only one page freezes instead of the whole browser. Only regression is the backspace keeps on making the page go back for some reason, which I will try to fix.

EDIT: REGRESSION FIXED. E10S IS FULLY STABLE!!
Wow. but I wonder if your newly added SSE2 codes will affect on SSE(not SSE2) or even IA32(no any of SSE) builds?
For some of the code, there is a CPU check for SSE/IA32 and for some it's just SSE2 only. Considering that Dactyloidae is 64 bit only, I do not think there will be a issue with IA-32 and/or SSE1
Windows Server 2022, i9 9900K, 32GB DDR4, GTX 970, Dactyloidae 13.1
OS X Monterey, 2013 Mac Pro, Xeon e5-1650v2, 2x FirePro D500, 64GB DDR3, Dactyloidae 13.1

q160765803
Moon lover
Moon lover
Posts: 93
Joined: 2023-04-13, 07:57

Re: Dactyloidae Browser (Basilisk fork)

Post by q160765803 » 2026-03-30, 11:23

ownedbywuigi wrote:
2026-03-30, 09:58
q160765803 wrote:
2026-03-30, 08:10
ownedbywuigi wrote:
2026-03-29, 22:14
Update on 13.1, I got (mostly) stable e10s, making that only one page freezes instead of the whole browser. Only regression is the backspace keeps on making the page go back for some reason, which I will try to fix.

EDIT: REGRESSION FIXED. E10S IS FULLY STABLE!!
Wow. but I wonder if your newly added SSE2 codes will affect on SSE(not SSE2) or even IA32(no any of SSE) builds?
For some of the code, there is a CPU check for SSE/IA32 and for some it's just SSE2 only. Considering that Dactyloidae is 64 bit only, I do not think there will be a issue with IA-32 and/or SSE1
Does it? Looked at this commit: https://repo.dactyloidae.xyz/Dactyloida ... 871b8be379
Using `vmovhlps` with 3 parameters, which means AVX, but you just check it with SSE2. Ref: https://www.felixcloutier.com/x86/movhlps

If these code go upstream, these are needed to be clarified.

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1682
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Dactyloidae Browser (Basilisk fork)

Post by athenian200 » 2026-03-30, 19:42

q160765803 wrote:
2026-03-30, 11:23
Does it? Looked at this commit: https://repo.dactyloidae.xyz/Dactyloida ... 871b8be379
Using `vmovhlps` with 3 parameters, which means AVX, but you just check it with SSE2. Ref: https://www.felixcloutier.com/x86/movhlps

If these code go upstream, these are needed to be clarified.
This kind of thing is actually a part of why we made AVX the baseline instead of SSE2. AVX instructions are useful for improving performance, and honestly it's easy to get mixed up and pull in AVX instructions as part of an optimization when you think you're staying well within SSE/SSE2 territory. Just making AVX the baseline means you don't have to worry as much and can just focus on using optimized instructions.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

q160765803
Moon lover
Moon lover
Posts: 93
Joined: 2023-04-13, 07:57

Re: Dactyloidae Browser (Basilisk fork)

Post by q160765803 » 2026-03-31, 01:57

athenian200 wrote:
2026-03-30, 19:42
q160765803 wrote:
2026-03-30, 11:23
Does it? Looked at this commit: https://repo.dactyloidae.xyz/Dactyloida ... 871b8be379
Using `vmovhlps` with 3 parameters, which means AVX, but you just check it with SSE2. Ref: https://www.felixcloutier.com/x86/movhlps

If these code go upstream, these are needed to be clarified.
This kind of thing is actually a part of why we made AVX the baseline instead of SSE2. AVX instructions are useful for improving performance, and honestly it's easy to get mixed up and pull in AVX instructions as part of an optimization when you think you're staying well within SSE/SSE2 territory. Just making AVX the baseline means you don't have to worry as much and can just focus on using optimized instructions.
It could be fine if it is guarding correctly, at least it won't crash when using it on pre-AVX processors. (while old code benefits older processors that has SSE3 but not AVX)

And to me, commits like this are mixing up in various purposes and it should be better to separated if these changes are going to upstream.

User avatar
ownedbywuigi
Fanatic
Fanatic
Posts: 138
Joined: 2026-03-09, 21:48
Location: United Kingdom

Re: Dactyloidae Browser (Basilisk fork)

Post by ownedbywuigi » 2026-03-31, 19:06

with some major modifications to WebExtensions, I got latest uBlock Origin installed on 13.1.
You do not have the required permissions to view the files attached to this post.
Windows Server 2022, i9 9900K, 32GB DDR4, GTX 970, Dactyloidae 13.1
OS X Monterey, 2013 Mac Pro, Xeon e5-1650v2, 2x FirePro D500, 64GB DDR3, Dactyloidae 13.1

User avatar
Mæstro
Board Warrior
Board Warrior
Posts: 1091
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Dactyloidae Browser (Basilisk fork)

Post by Mæstro » 2026-04-01, 04:19

Are you trying to add WebExtensions support to your browser? If not, what, precisely, are you doing?
Life is a fever dream Mæstro would enjoy.
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build