Comments (12)
Some say that bit shift operators were working in NETMF 4.1. Could anyone please suggest where to start looking for someone who would be interested in fixing this issue? In other words, where should these operators be defined?
from netmf-interpreter.
In the future, please leave CodePlex issue where they are - we are aware of them and will bring them into the GitHub system when they become active. Duplicating them here only adds more work to filter out duplicates etc...
The problem is more complex than a simple function, It's in the compiler itself, not the NETMF run time. For reasons unknown the compiler requires references to, at a minimum, System.Nullable(of T), which isn't available in NETMF and ultimately isn't even used by the resulting IL code!. Fixing that means modifying the compiler, Implementing all of generics support in NEMTF or some sort of hackish re-writer that can strip out the class after not being used... none of those are simple and easy.
from netmf-interpreter.
I have installed NETMF 4.2 (there was no support for VB in NETMF 4.1) and I have tried using bit shift operators - they were working. I am attaching a print screen as a proof.
I have also checked that System.Nullable(of T) is not supported in NETMF 4.2. So, I assume it is not required for bit shift operators to work. Could you please investigate it? Maybe there are some simple workarounds that could make bit shift operators working again?
from netmf-interpreter.
As I stated, I have looked into it and there is no simple workaround I could find, of course as an open source project, if you can find a solution we are happy to review and consider it for inclusion. The compiler itself is the issue, and we don't own the compiler. There is however, a very simple workaround in code. Use integer division instead of bit shifts.
from netmf-interpreter.
It looks the compiler team used to make reasonable effort to support language features without the generics requirement (including Linq). Perhaps you could talk to them and suggest this is welcome? Also since Roslyn is an open source project, rather than injecting IL transforms into the build process, couldn't we contribute to Roslyn so that it is capable of generating code we can use?
from netmf-interpreter.
Do I understand it correctly that NETMF 4.2 and 4.3 have used different compilers?
from netmf-interpreter.
@dimso - Not that I'm aware of no. However, the compiler may well be inferring things from runtime or framework version numbers that are different. We don't really know why the compiler is doing what it is doing, but it is in the compiler not the runtime. The build target files are all the same, and as far as I can tell so are the command line options.
from netmf-interpreter.
It is very sad to find out that more than half a year ago reported bug is not going to be fixed in 4.4. I have a feeling that nobody has seriously looked into this issue and that was probably because VB.NET programmers are not that important π
from netmf-interpreter.
Feel free to offer a pull request if you can figure out what's actually going on.
from netmf-interpreter.
I find it interesting to read comments like yours. Someone reports a bug and in return gets a response - "Fix it yourself". I believe it is obvious that I would have already done it, if I could.
I think this bug can only be fixed by someone like you or alike, who has very good in-depth knowledge of what is going on.
The most worrying thing here is your attitude. If it is not going to change, and it doesn't look like it, this bug is never going to be addressed/fixed.
from netmf-interpreter.
My apologies I meant no offense. However, as discussed in this topic I'm as clueless as the rest on what the problem is. We have spent a good deal of time looking into this and don't have a solution. If somebody has one, or more importantly if someone is able to pinpoint the actual problem, I'm more than happy to hear it.
from netmf-interpreter.
Not sure if that is good news or not, but I have no problems compiling and debugging (in emulator) the code on the screenshot above with the Roslyn compiler. (Getting VB projects to run with that one is a bit tricky though.)
from netmf-interpreter.
Related Issues (20)
- The .Net Micro Framework 4.4 CLR freezing and compile errors with GCC
- Networking Interface Question - CC3100 WIFI Module HOT 1
- Problems regarding to .Net Micro Framework 4.4 running on STM32F7 HOT 15
- Micro Framework Project Options do not render correctly on Hi Resolution Ultrabooks
- Is .Net MF being discontinued? HOT 3
- Visual Studio 2017 HOT 67
- Branches HOT 1
- Split flash block smaller
- Code In NETMF Operating System Does Not Transfer to C# DLL's HOT 3
- Error signing assembly -- Access is denied.
- File System - High capacity Micro SD Cards HOT 1
- ASSERT in String::Concat - Debugging Help
- How to speed up Graphics Performance HOT 6
- ExtendedWeakReference data on flash is deleted after calling GC HOT 2
- Extended Weak Reference Not Recovered - Data not on 16bit boundary
- LwIP's sys_arch realization calls prohibited osSemaphore* functions from ISR HOT 1
- Last Sources !!! HOT 1
- Creating file on SD that has been successfully through SD/Blockstorage initializations causes exception in FileStream
- δΈεζ΄ζ°δΊεοΌ HOT 2
- Visual Studio 2019 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netmf-interpreter.