modularml / mojo

The Mojo Programming Language
https://docs.modular.com/mojo/manual/
Other
23.03k stars 2.59k forks source link

[Feature Request] Native Windows support #620

Closed raman1383 closed 4 weeks ago

raman1383 commented 1 year ago

Review Mojo's priorities

What is your request?

native support for windows.

when will it be available?

What is your motivation for this change?

I use Windows

Any other details?

No response

jackos commented 1 year ago

Hi @raman1383 we can leave this ticket open thanks, so people can upvote and we can gauge how much interest there is for it.

visakha commented 1 year ago

a lot of devs out there work in corporations, like Ford | Bank of America etc etc etc they all use windows and lot of restrictions so the SDK should be straight fwd with no baggage like A) Need for elevated permissions B) Need for admin permissions

it should be as simple as A) Download the binary as a zip file B) Extract it C) Change PATH variable D) Start Using it

cksiow commented 1 year ago

I believe another turn around solution is support mojo build with --target-triple x86_64-w64-win32 so we can run the execution file in windows OS Currently facing issue when build with this target-triple "mojo: error: Couldn't find msvc toolchain."

bahia14 commented 1 year ago

The link below shows that windows has 69% of world OS market share....

https://www.statista.com/statistics/218089/global-market-share-of-windows-7/

gryznar commented 1 year ago

Keep in mind, that the easiest may be to prepare Linux version. Mac has similar architecture, so it is going second. Windows differentiates the most, so it goes last

santagada commented 1 year ago

Or maybe open source it first and we help modular port it 😉

Moosems commented 11 months ago

Or maybe open source it first and we help modular port it 😉

They're waiting till it becomes mature enough for this :).

hexpayload commented 10 months ago

well,i hope mojo running on my Windows10 system

ArEnSc commented 9 months ago

yeah I would like this to be supported on Native windows, theres a huge gap in the market that mojo can cover for AI inference, espcially in the games sector right now I know many devs trying to get code from python compiled down to c to run in their applications, that process is huge pain point, if we can develop portable cross platform inference services / processes from modular that would be amazing

Neltherion commented 9 months ago

I'm starting to get the feeling that Windows is going to be a second-class citizen in the Mojo world. Another similar programming language that got the same treatment was Crystal: It also started supporting Linux right from the start and claimed that "Windows Support" is coming and yet years later, there's still no sign of a Windows version of Crystal.

In the first blog posts of Mojo each week, there was a report on how the Windows version was progressing but recently there hasn't been any news about the Windows version🙁

liudonghua123 commented 9 months ago

I'm starting to get the feeling that Windows is going to be a second-class citizen in the Mojo world. Another similar programming language that got the same treatment was Crystal: It also started supporting Linux right from the start and claimed that "Windows Support" is coming and yet years later, there's still no sign of a Windows version of Crystal.

In the first blog posts of Mojo each week, there was a report on how the Windows version was progressing but recently there hasn't been any news about the Windows version🙁

another similar project is bun.

AlgorithmicKing commented 7 months ago

+1

bahia14 commented 7 months ago

I do agree with you.... Ibrahim758

On Thu, Mar 14, 2024, 08:50 Ibrahim758 @.***> wrote:

Windows is the most widely used system in the world It is used by 69 operating system users in the world . Despite this, Mojo 🔥 does not work on this system. It was supposed to support the Windows system first.

— Reply to this email directly, view it on GitHub https://github.com/modularml/mojo/issues/620#issuecomment-1997267318, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNUYO2GY3ICUINNGWNLMK3YYGFGRAVCNFSM6AAAAAA4P7Z3IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXGI3DOMZRHA . You are receiving this because you commented.Message ID: @.***>

bozohi commented 7 months ago

You're a genius ibrahim758

jloveric commented 6 months ago

Even though I don't often use Windows, a bunch of my coworkers do so I think this is important! I won't be able to write anything in mojo at work probably until it's in Windows!

gryznar commented 6 months ago

Even though I don't often use Windows, a bunch of my coworkers do so I think this is important! I won't be able to write anything in mojo at work probably until it's in Windows!

Same as me :(

AlgorithmicKing commented 6 months ago

Windows is the most widely used system in the world . 69% of operating system users in the world use Windows . Despite this, Mojo 🔥 does not work on this system. It was supposed to support the Windows system first.

why is this marked as abuse?

lucasjinreal commented 6 months ago

Please support Windows.

Moosems commented 6 months ago

@lucasjinreal They have a lot of internal support as well, it will come in due time.

lucasjinreal commented 6 months ago

Thanks, I think should be a relatively higher priority. As mojo trends to attract more attention, the whole platform coverage should put on the agenda now.

Moosems commented 5 months ago

@a62690705 Care to share your source? I highly doubt that they simply don't care about supporting Windows.

lucasjinreal commented 5 months ago

@a62690705 Holy shit, why did they do this? Does windows make them angry?

Moosems commented 5 months ago

Im skeptical to believe that because they don't generally block or delete posts. Unless you did something obscene I don't believe they would do that. Also why are you making four posts for them to block? Was it all at once cause that would be grounds for spam.

Moosems commented 5 months ago

So thats why they deleted your comments. I was right :)

Moosems commented 5 months ago

I want Windows support as much as you do but that is not the way to be persuasive or convince others. Swearing and acting like a child doesn't do much in this setting. I don't want to have any beef with you but I'd prefer it if you didn't say such things.

Moosems commented 5 months ago

Or maybe because they've been bombarded with hundreds of issues and discussions already?

Moosems commented 5 months ago

You're making big accusations without much evidence. I've asked for it and you've provided none.

melodyogonna commented 5 months ago

@a62690705 are you a bot? Why all the cussing on a public Github repo, with an account with very little activity? Smells like troll behaviour to me, which also explains your posts being deleted (if they were indeed deleted)

hogepodge commented 5 months ago

Stepping into this conversation. @a62690705 has been banned multiple times for violating the code of conduct for the Modular community. This has included

We have also locked and closed discussions by this user that have not contributed constructively to the community or community discussion.

I'm locking this issue until things cool off.

We want to create a welcoming and safe space for everyone, and we also want to hear community feedback about what's important to them. We also have very limited resources as we build out Mojo and MAX, and may not be able to deliver on every request as quickly as people would like. It's understandable that people may be frustrated by the roadmap and the timeline, and we feel you on that. We also deeply appreciate everyone who has participated in the community, especially the users who have tried out MAX and Mojo and have given us feedback, both positive and negative. We truly appreciate it.

What we will not tolerate is behavior that is abusive or undertaken in bad faith in violation of our code of conduct.

xmaxrayx commented 4 months ago

please do this I hate linux and I don't want use it with my laptop, WSL may work but it's not good if you want best hardware performance

AlgorithmicKing commented 3 months ago

I don't know why they are doing this. they released max 24.2 and everything else but not mojo for windows

Neltherion commented 3 months ago

It seems Mac and everything else has more priority for them than Windows😒

melodyogonna commented 3 months ago

It's straightforward. The team does not have any extra engineering bandwidth to dedicate to keeping a Windows version up to date with the changes being made. Linux (just Ubuntu) has first-class support because it's important for open source and deployment, Mac M-series because that is the system everyone at Modular uses.

Neltherion commented 3 months ago

It's straightforward. The team does not have any extra engineering bandwidth to dedicate to keeping a Windows version up to date with the changes being made. Linux (just Ubuntu) has first-class support because it's important for open source and deployment, Mac M-series because that is the system everyone at Modular uses.

This is exactly why Windows may be considered a second-class citizen for Mojo throughout its lifetime. This approach to having Windows as a second-class citizen reminds me of the Crystal Language (No Windows support even after 9 years) and is unfortunately starting to turn my focus from Mojo to other alternatives (even Cython)😔

melodyogonna commented 3 months ago

This is exactly why Windows may be considered a second-class citizen for Mojo throughout its lifetime. This approach to having Windows as a second-class citizen reminds me of the Crystal Language (No Windows support even after 9 years) and is unfortunately starting to turn my focus from Mojo to other alternatives (even Cython)😔

Not really true. it’s a common misconception that most open source projects are cross-platform from the start. Most open source projects start out supporting just the machine that the developer is working with. Eventually, it’s ported by the community to other platforms. Mojo doesn’t support Windows yet because it’s not completely open source. Once the compiler gets open-sourced, I expect the community to port it to other platforms. Once it gets there, I expect a core maintainer to work on its upkeep.

itcd commented 3 months ago

The outlook is concerning as Mojo continues to lack native Windows support, nearly a year later. :(

AlgorithmicKing commented 3 months ago

looks like mojo is not the game changer for 72% (Windows users) of worlds Computer users

Neltherion commented 3 months ago

Any progress on Windows support lately? Modular Blog used to announce the progress on Windows every week but recently there's been a blackout on Windows progress news😒

AlgorithmicKing commented 3 months ago

You guys know the world doesn’t revolve around you and windows right?

AlgorithmicKing commented 3 months ago

Of course, the world doesn't revolve around us or Windows. However, considering Windows powers over 72% of the world's desktop computers and is integral to countless businesses, educational institutions, and personal users globally, it undeniably plays a crucial role in how people interact with technology and conduct their daily activities. Understanding its importance and addressing issues related to it is not about self-centeredness; it's about recognizing and engaging with a significant component of modern digital infrastructure.

jackos commented 3 months ago

Hi all please don't attack each other over this, we understand how important the native Windows experience is for a large percentage of the world. The reason we haven't done this yet is purely due to limited engineering hours, and we need to focus on priorities such as GPU support to create a compelling product. We care about Windows, as you can see when we add stdlib functionality we include native Windows compatible code and tests. When we have the engineering hours available we'll do it.

Please be respectful with each other.

bahia14 commented 3 months ago

@Algorithm King, totally agree !!!

On Sat, Jul 13, 2024, 06:53 Algorithmic King @.***> wrote:

Of course, the world doesn't revolve around us or Windows. However, considering Windows powers over 72% of the world's desktop computers and is integral to countless businesses, educational institutions, and personal users globally, it undeniably plays a crucial role in how people interact with technology and conduct their daily activities. Understanding its importance and addressing issues related to it is not about self-centeredness; it's about recognizing and engaging with a significant component of modern digital infrastructure.

— Reply to this email directly, view it on GitHub https://github.com/modularml/mojo/issues/620#issuecomment-2226841304, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNUYO7J42NIOGDUWWX6XY3ZMD2LLAVCNFSM6AAAAAA4P7Z3IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWHA2DCMZQGQ . You are receiving this because you commented.Message ID: @.***>

Neltherion commented 3 months ago

@jackos Thanks for the clarification. Just please make sure to assign at least one person to it or else it will turn into the Crystal Lang conundrum over Windows support (after 9 years, Crystal Lang team is still "looking" for engineers for Windows support and the language still doesn't have a stable Windows release).

melodyogonna commented 3 months ago

GPU support is nearing completion, at least for Nvidia GPUs. So maybe the team might be able to free up some engineering bandwidth for Windows, assuming there isn't another high priority max functionality.

walter-erquinigo commented 3 months ago

Indeed, our priorities right now are GPU support and satisfying the needs of the market. We know that Windows is important and it's included in the roadmap. As you may imagine, there's a good portion of the market using Windows, especially not in the US.

However, at this point I can't share details about timelines.

xmaxrayx commented 2 months ago

Test from my email

On Mon, Jul 15, 2024, 6:01 PM Walter Erquinigo @.***> wrote:

Indeed, our priorities right now are GPU support and satisfying the needs of the market. We know that Windows is important and it's included in the roadmap. As you may imagine, there's a good portion of the market using Windows, especially not in the US.

However, at this point I can't share details about timelines.

— Reply to this email directly, view it on GitHub https://github.com/modularml/mojo/issues/620#issuecomment-2228855477, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYGT5YQPSTB56GQB7COMJETZMPW4XAVCNFSM6AAAAAA4P7Z3IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYHA2TKNBXG4 . You are receiving this because you commented.Message ID: @.***>

bahia14 commented 2 months ago

Hi

By the statcounter (link below), we have:

  1. Desktop Operating System Market Share in United States Of America - June 2024

Windows has 62.4% OS X 24.7%

Where Windows is 2.5x bigger than OS X

https://gs.statcounter.com/os-market-share/desktop/united-states-of-america

  1. the Desktop Operating System Market Share Worldwide - June 2024

Windows has 72.9% OS X 14.9%

Where Windows is 4.9x bigger than OS X

https://gs.statcounter.com/os-market-share/desktop/worldwide

I could not understand why Modular didn't start the project with Windows.

On Mon, Jul 15, 2024, 13:01 Walter Erquinigo @.***> wrote:

Indeed, our priorities right now are GPU support and satisfying the needs of the market. We know that Windows is important and it's included in the roadmap. As you may imagine, there's a good portion of the market using Windows, especially not in the US.

However, at this point I can't share details about timelines.

— Reply to this email directly, view it on GitHub https://github.com/modularml/mojo/issues/620#issuecomment-2228855477, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNUYO3LIQQ4JXRET3RGBCDZMPW4PAVCNFSM6AAAAAA4P7Z3IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYHA2TKNBXG4 . You are receiving this because you commented.Message ID: @.***>

xmaxrayx commented 2 months ago

I believe because Macos is based on Unix so its easier than windows.

On Tue, Jul 16, 2024, 2:53 PM carlos bahia @.***> wrote:

Hi

By the statcounter (link below), we have:

  1. Desktop Operating System Market Share in United States Of America - June 2024

Windows has 62.4% OS X 24.7%

Where Windows is 2.5x bigger than OS X

https://gs.statcounter.com/os-market-share/desktop/united-states-of-america

  1. the Desktop Operating System Market Share Worldwide - June 2024

Windows has 72.9% OS X 14.9%

Where Windows is 4.9x bigger than OS X

https://gs.statcounter.com/os-market-share/desktop/worldwide

I could not understand why Modular didn't start the project with Windows.

On Mon, Jul 15, 2024, 13:01 Walter Erquinigo @.***> wrote:

Indeed, our priorities right now are GPU support and satisfying the needs of the market. We know that Windows is important and it's included in the roadmap. As you may imagine, there's a good portion of the market using Windows, especially not in the US.

However, at this point I can't share details about timelines.

— Reply to this email directly, view it on GitHub https://github.com/modularml/mojo/issues/620#issuecomment-2228855477, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACNUYO3LIQQ4JXRET3RGBCDZMPW4PAVCNFSM6AAAAAA4P7Z3IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYHA2TKNBXG4>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/modularml/mojo/issues/620#issuecomment-2230700469, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYGT5YWU432A3SZBQZUAPODZMUCSBAVCNFSM6AAAAAA4P7Z3IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZQG4YDANBWHE . You are receiving this because you commented.Message ID: @.***>

bahia14 commented 2 months ago

I see. By the business point of view, you have to look what is more lucrative....

On Tue, Jul 16, 2024, 08:59 xMaxrayx @.***> wrote:

I believe because Macos is based on Unix so its easier than windows.

On Tue, Jul 16, 2024, 2:53 PM carlos bahia @.***> wrote:

Hi

By the statcounter (link below), we have:

  1. Desktop Operating System Market Share in United States Of America - June 2024

Windows has 62.4% OS X 24.7%

Where Windows is 2.5x bigger than OS X

https://gs.statcounter.com/os-market-share/desktop/united-states-of-america

  1. the Desktop Operating System Market Share Worldwide - June 2024

Windows has 72.9% OS X 14.9%

Where Windows is 4.9x bigger than OS X

https://gs.statcounter.com/os-market-share/desktop/worldwide

I could not understand why Modular didn't start the project with Windows.

On Mon, Jul 15, 2024, 13:01 Walter Erquinigo @.***> wrote:

Indeed, our priorities right now are GPU support and satisfying the needs of the market. We know that Windows is important and it's included in the roadmap. As you may imagine, there's a good portion of the market using Windows, especially not in the US.

However, at this point I can't share details about timelines.

— Reply to this email directly, view it on GitHub https://github.com/modularml/mojo/issues/620#issuecomment-2228855477,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACNUYO3LIQQ4JXRET3RGBCDZMPW4PAVCNFSM6AAAAAA4P7Z3IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYHA2TKNBXG4>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/modularml/mojo/issues/620#issuecomment-2230700469, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AYGT5YWU432A3SZBQZUAPODZMUCSBAVCNFSM6AAAAAA4P7Z3IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZQG4YDANBWHE>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/modularml/mojo/issues/620#issuecomment-2230711067, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNUYO36IH3VYJQMTYXMRSTZMUDJDAVCNFSM6AAAAAA4P7Z3IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZQG4YTCMBWG4 . You are receiving this because you commented.Message ID: @.***>

walter-erquinigo commented 2 months ago

Indeed. The lucrative part is important. We are a startup, so we just don't exist without entering the part of the market that could benefit from our products. This is basically Linux for AI servers. Mac was a relative easy port, as mentioned above, because it's posix and is very similar to Linux.

Windows will come, but we are focusing now on GPU for Linux specifically.