707 karma · joined May 25, 2020
Not really, I've done just that (though in the end I didn't need full /NODEFAULTLIB):
https://github.com/rust9x/rust9x-sample/blob/main/.cargo/con...
With older msvcrt libraries you only need to link `libcmt.lib`/`msvcrt.lib`, that's it. Visual C++ 4.0 is apparently the last version to support Win32s, so if you can make it link to its libraries you might have a chance!
AFAICT it is supported since NT 3.1, though, and it worked fine on all NT-based systems I've tested so far, so my guess would be a ReactOS API bug.
The commit adding the 9x/Me fallback implementation:
https://github.com/rust9x/rust/commit/3a3eddb0044c6d03357a75...
It depends on two things:
- is the supported API surface big enough?
- is there an msvc runtime that can be linked with a somewhat modern linker (so that rust/llvm don't get angry) but that still works under Win32s. I'm not sure that exists, though :c
In regular mode it seems there's a problem with the system not setting the file pointer to the end when OpenOptions::append is used: https://i.imgur.com/vvbEnWh.png https://doc.rust-lang.org/std/fs/struct.OpenOptions.html#met...
No need to imagine! https://github.com/diasurgical/devilution
This is >99% binary exact when compiling with the original toolchain.
Stockfish compiled to multithreaded WASM (on supporting browsers)
I've disabled smooth scrolling in Edge because of this, yes.
In Chrome it's nice at high refresh rates and looks buttery smooth, but at 60Hz it's too choppy so I turn it off there. It seems that the Edge devs have opted for a slower (=smoother) animation, optimized for 60Hz screens, whereas Chrome has opted for more responsiveness.
(giving the user the ability to tweak the scroll animation speed would be too much to ask I guess)
(disabling smooth scrolling with the "disable animations" setting in Windows is too much to ask as well I guess)
- It consistently starts slower than Notepad3 while having substantially fewer features to load (and also slower than the old Notepad of course)
- THEY ANIMATED THE SCROLLING OMG PLEASE DONT DO THIS (especially when grabbing the scroll bar handle). Any amount of delay is too much in notepad
- the animation runs at 60Hz even on a high refresh rate screen, so it looks choppy
- the animation has to "catch up" when grabbing the scroll bar handle and moving it quickly
- 215k lines loaded, moving the window itself is choppy now? HOW
- another first party piece of software that ignores the "no animations" setting in windows
- I've grabbed a notepad.exe from Windows XP SP3 in comparison, no problems there, scrolling and editing is instant. Both have SIGNIFICANT lag in the new one.
- Don't even try to resize the window with a big file open (< 1 FPS)
EDIT: Note that I haven't even complained about new features or anything, just the previous, basic features still working correctly.
2. length is set to 12
3. external change causes the value to now be 12
4. second call to ``RegQueryValueExW` succeeds, as 12 <= 12, no ERROR_MORE_DATA here; length stays 12
5. length + 1 and length + 2 are now OOB
It might cause an OOB write though, with a data race on the registry key (if the key's value happens to grow in length by a char or two between the calls, time of check time of use yada yada).
new(required_arg_1, required_arg_2, Options { foo: "bar", ..Default::default() })
or Options { foo: "bar", ..Default::default() }).build(required_arg_1, required_arg_2)Granted, it seems that nobody at the Edge team thought of actually giving the vertical space used by the horizontal tab bar back once you flip to vertical tabs mode, but the feature itself is there.
You missed "Gehweg" (sidewalk) though. :^)
That 2^53 - 1 comes from the 64-Bit floating point representation JS uses for the normal number type.
(Number.MAX_SAFE_INTEGER + 1) === (Number.MAX_SAFE_INTEGER + 2)
> true
edit: yeah, just as you wrote in the reply to the other comment