Skip to content

Hosting the CLR #99210

Answered by alexrp
Korporal asked this question in Q&A
Mar 3, 2024 · 3 comments · 5 replies
Discussion options

You must be logged in to vote

When you say virtual memory, in what sense?

VirtualAlloc/mmap

the presence of virtual memory is (ordinarily) completely invisible to application code isn't it?

Yes, but the JIT and GC need it.

Also, if there was not any sockets/networking, obviously many network based classes could not work, but is there anything more fundamental that would be impacted? Could one have an OS that did not (in an early version anyway) have sockets yet still run the CLR provided no user code tried to do networking?

I don't see any reason why it wouldn't be workable. It might require some build system plumbing and [UnsupportedOSPlatform(...)] annotations, though. I think (but don't quote me on this) that b…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@Korporal
Comment options

@alexrp
Comment options

Answer selected by Korporal
@Korporal
Comment options

Comment options

You must be logged in to vote
1 reply
@Korporal
Comment options

Comment options

You must be logged in to vote
1 reply
@huoyaoyuan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants