Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #3216
| From | Jon Forrest <nobozo@gmail.com> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Is This a Dumb Idea? paralellizing byte codes |
| Date | 2022-10-22 11:00 -0700 |
| Organization | Compilers Central |
| Message-ID | <22-10-046@comp.compilers> (permalink) |
Modern CPUs employ all kinds of clever techniques to improve instruction level parallelism (ILP). I was wondering if it makes sense to try to employ similar techniques in the virtual machines used to execute byte code produced by language compilers. By that I mean what if virtual machines were to examine byte code streams to detect when it would be safe to execute multiple byte codes concurrently? Then, based on its findings, the virtual machine would execute as many byte codes concurrently as is safe. I have no idea if the overhead of the byte code examination would exceed any advantage of the concurrent execution, although it's important to point out that this examination would only have to be done once, and the results could somehow be stored along with the byte code. Of course, if the byte code changes the examination would have to be done again. I'm also worried that internal virtual machine locking requirements might make this idea infeasible. For example, in a virtual machine with a global interpreter lock, would it be possible for there to be any concurrent execution? This idea, if it works, would be a great way to take advantage of multiple cores without having to rewrite any user code. The big question is whether it would work. Comments? Jon Forrest
Back to comp.compilers | Previous | Next — Next in thread | Find similar
Is This a Dumb Idea? paralellizing byte codes Jon Forrest <nobozo@gmail.com> - 2022-10-22 11:00 -0700
Re: Is This a Dumb Idea? paralellizing byte codes Alain Ketterlin <alain@universite-de-strasbourg.fr> - 2022-10-22 23:50 +0200
Re: Is This a Dumb Idea? paralellizing byte codes anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2022-10-23 13:16 +0000
Re: Is This a Dumb Idea? paralellizing byte codes Alain Ketterlin <alain@universite-de-strasbourg.fr> - 2022-10-23 21:29 +0200
Re: Is This a Dumb Idea? paralellizing byte codes anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2022-10-28 17:06 +0000
Re: Is This a Dumb Idea? paralellizing byte codes Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2022-10-23 02:21 +0200
Re: Is This a Dumb Idea? paralellizing byte codes gah4 <gah4@u.washington.edu> - 2022-10-22 23:50 -0700
Parallelizing byte codes Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2022-10-23 10:17 +0300
Re: Is This a Dumb Idea? paralellizing byte codes anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2022-10-23 12:33 +0000
Re: Is This a Dumb Idea? paralellizing byte codes gah4 <gah4@u.washington.edu> - 2022-10-26 18:18 -0700
Re: Is This a Dumb Idea? paralellizing byte codes Kaz Kylheku <864-117-4973@kylheku.com> - 2022-10-27 14:51 +0000
Re: Is This a Dumb Idea? paralellizing byte codes anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2022-10-29 09:06 +0000
csiph-web