intermediate-language Questions

3

It just seems to me that when writing code for dynamic data visualization, I end up doing the same things over and over in different languages/platforms. Now if I had a cross platform language(whic...
Heedless asked 9/7, 2015 at 21:12

0

I was looking at this and it its starting comments it says it exists because throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); generate...
Balalaika asked 12/8, 2020 at 11:42

3

For example I have (list "a" "1" "b" "2" "c" "3"). Now I want to turn this list into one "a1b2c3". How do I do that? Thank you.
Aide asked 2/6, 2013 at 7:6

3

Solved

I'd like to know how does .maxstack really work. I know it doesn't have to do with the actual size of the types you are declaring but with the number of them. My questions are: does this apply ju...
Jonquil asked 6/8, 2009 at 20:39

7

Solved

What does backpatching mean ? Please illustrate with a simple example.

4

Solved

The design of GHC is based on something called STG, which stands for "spineless, tagless G-machine". Now G-machine is apparently short for "graph reduction machine", which defines how laziness is ...
Presentational asked 12/8, 2012 at 11:2

5

Solved

Prior to C# 6, the initialization of properties did not use backing fields to initialize default values. In C#6, it uses the backing fields to initialize with new Auto initialization properties. ...
Oysterman asked 3/10, 2016 at 21:27

1

I want to create a translator from SQL to XQuery. I want to parse SQL and generate an intermediate structure and then use it to generate the XQuery query. (Note- I want to use an intermediate repre...
Endres asked 19/9, 2016 at 11:39

4

Solved

A recent mention of PostSharp reminded me of this: Last year where I worked, we were thinking of using PostSharp to inject instrumentation into our code. This was in a Team Foundation Server Team ...
Zoologist asked 16/7, 2009 at 13:2

2

Solved

The LLVM Language Reference states that it can be used as an on-disk bitcode representation (suitable for fast loading by a Just-In-Time compiler) How stable is this representation? E.g., can ...
Jamin asked 5/4, 2013 at 14:24

1

Solved

CIL is an object-oriented assembly language, and is entirely stack-based. Its bytecode is translated into native code or — most commonly — executed by a virtual machine. Why do we need CIL? I...
Maniacal asked 2/12, 2014 at 12:20

2

Solved

I was discovering the IL code of a simple program: long x = 0; for(long i = 0;i< int.MaxValue * 2L; i++) { x = i; } Console.WriteLine(x); I build this code in Release mode and this IL code ...
Schellens asked 7/11, 2014 at 13:7

2

Solved

I work in a code base that is quite large and today I found a project that was emitting IL code inside a normal class. The project containing the IL code being emitted was a implementation o...
Recreate asked 30/7, 2013 at 12:12

2

I'm working on an intermediate language and a virtual machine to run a functional language with a couple of "problematic" properties: Lexical namespaces (closures) Dynamically growing call stack ...

2

Solved

I want to add some behavior to a certain class at runtime. I know how to subclass at runtime using Reflection.Emit but that's not enough. Depending on some external configuration I need to inject o...
Algae asked 2/5, 2010 at 20:20

2

Solved

If I look at the IL that is created in Linqpad for the two following code snippets, I wonder what happens here. In c# int i = 42; results in the following IL code IL_0000: ret whereas in VB...
Tetartohedral asked 9/2, 2012 at 10:55

5

Solved

If I wanted to create a method that takes an instance of IList as a parameter (or any other interface, but let's use IList as an example), I could create a generic method with a type constraint, e....
Brandiebrandise asked 25/10, 2011 at 13:13

3

I'm thinking about doing some static analysis project over C++ code samples, as opposed to entire programs. In general static analysis requires some simpler intermediate representation, but such a ...
Lavaliere asked 11/7, 2011 at 12:24

1

Solved

You can define a static constructor on an interface in .NET in IL. However, if you do so, the static constructor is not run when you run a method on the interface: .method public static void Main(...
Tiffie asked 14/3, 2011 at 14:12

1

Solved

Currently I'm doing a recherche for university about F#. I have a question about the F# interactive Console and the F# compiler. The F# compiler produces Microsoft Intermediate Language (MSIL) cod...
Distorted asked 6/1, 2011 at 10:26

1

Solved

While doing some reading, I came across the terms "Intermediate Language" and "3AC". IL, as I understand, is the middle "step" in the source code compilation process. More specifically, I'm readi...
Letters asked 20/10, 2010 at 20:42

4

Solved

What does an if statement look like when it's compiled into IL? It's a very simple construct in C#. Can sombody give me a more abstract definition of what it really is?
Rebellion asked 7/9, 2010 at 23:21

2

Solved

This may be a dumb question, but is there a compiler for IL code, similar to that shown by Reflector in IL mode?
Jebel asked 21/11, 2009 at 1:41

2

Solved

When doing an upcast or downcast, what does really happen behind the scenes? I had the idea that when doing something as: string myString = "abc"; object myObject = myString; string myStringBack =...
Bickering asked 6/5, 2010 at 18:38

2

Solved

Let's say you write an app in C#, VB, anything with .NET When you hit build, does it really compile your code? I thought so until I started using redgates reflector on some of my assemblies and saw...
Tiebold asked 5/8, 2009 at 22:53

© 2022 - 2024 — McMap. All rights reserved.