should be? I want to write it to link rust/cpp programs faster in with parallel ways
The hard part will not be making it work. The hard part will be 1) compliance to a big standard with a lot of legacy 2) maintaining it 3) security (regulations!) So if it's a toy project to learn how to link objects together, you should count a few weeks. If its a serious project, you are best advised to contribute your improvements to gnu/ld, for example
I forgot to mention that unix (macos/linux) already have the mold linker which is fast and (production ready?) The only issue is with Windows in dev mode (edit-build-run cycles) I want to improve that cycle dev experience. Currently it takes 10s to link some large project with Rust on WIndows with lld. on Linux it takes 1-3s So it doesn't need to be military tested grade because it's just for faster development cycles
7 seconds vs years of developement there's a nice acronym for ambitions like your's: YAGNI
Years of development? it it's gonna be open source people probably will contribute. so I just need to make something that works first
Well, I don't want to stop you. If you manage to do something nice, I might look into it :)
The struggle on windows is with debug information, and it may just get worse. Not even Microsoft have a clear understanding of the pdb format and the debug info for windows executable since the designers have long quit
I wonder how you will make it faster? 🙂
Just like mold did, doing things parallel and take advantage of all the cores
U want to turn all the cores of a processor turn on ? Like i am talking about cores of a cpu 🙂 , P & E cores . and who is mold ?
Listen buddy 🥹 , i am noob for sure . I dont understand ya like , what exactly your project and you want to accomplish by making it ? Can u show me a reference or a blue print of the idea or any github link of any program that works on ur idea let me know 👍 i would love to give u hand if i can help ya
search "mold linker"
It was great buddy thanks 👍🏻 hand shake -success !!:P
Brother there is lld Linking in clang right , well as far i came to know u can use mold :) in windows . Basically you need to make it from scratch git clone https://github.com/rui314/mold.git cd mold Build mold from here :) cmake -B build -DCMAKE_BUILD_TYPE=Release cmake --build build Give its path in sys variables Just use the linker mate ;) , i mean by replacing the default linker of gcc and clang offcourse :P Now whenever you run the command to compile the program like gcc or clang , as you have modified its linker already so it will use mold liker now 🙂
I am just hoping that you just want to achieve that in windows 🥹🤞🍀
Well mold is the fastest offcourse so i thought 🙂, why not getting the fastest in the pocket already, like why to build a new one 🥹 i mena if you want to grab, knowledge and experience thats great 👍🏻 or might you will create a new type of linker which is more faster than mold 🗿 OP bruh
Sadly mold supports only Windows. If there was fast linker for Windows I wouldn't consider write new one
I want better dev experience. I prefer to work on linker 10,000 hours instead of wasting 10 hours of linking 😂
🥹 not windows bruh , its linux . And there is a linker whose speed is comparable to mold that lld available by default in clang 🙂 But still mold is fastest of all 😁👍 can understand ya speed is everything 😁
😂😂 u sure are something though ❤️👍
Clang's lld is not fast as mold. lld works on windows
Yes lld is not fast as mold , but still not bad though ☺️ btw why not try my method :P , just get on hands with mold for windows 😁👍 it will look cool or lets say if u are building a new linker . Just start ur repo 🙂👍 new people will come , join and support ur repo offcourse
That's the plan, I hope that won't be too difficult
Обсуждают сегодня