my notes on NPOI+Nim

2021-12-31 Thread oyster
I created a new project to record what I learned during using [NPOI](https://github.com/nissl-lab/npoi) via [winim](https://github.com/khchen/winim), or more specified, via [clr](https://khchen.github.io/winim/clr.html) to interact with Windows .NET frameworks. You can visit it [over here](htt

compiling nim from source on low memory SBC

2021-12-31 Thread shirleyquirk
I was able to get Nim to compile on the RPI nano 2, with distcc and lots of swapping to disk

compiling nim from source on low memory SBC

2021-12-31 Thread rforcen
thanx dude, both 1gb 32 bit & 2gb 64 bit linux on arm work fine on 1.6.1

compiling nim from source on low memory SBC

2021-12-31 Thread Yardanico
You can either add swap or get the pre-built nightlies from (these ones are from the version-1.6 branch, so while they don't correspond to a stable 1.6.x release they're a part of

compiling nim from source on low memory SBC

2021-12-31 Thread rforcen
thankx dude, both 1gb 32 bit & 2gb 64 bit linux on arm work fine on 1.6.1

compiling nim from source on low memory SBC

2021-12-31 Thread rforcen
i'm unsuccessfully trying to compile nim 1.6.2 on a 2gb arm sbc, seems link the minimum ram is 4gb

Nim interact with Windows .NET Frameworks

2021-12-31 Thread oyster
I made a mistake. Even the number is used to instead of enum, the code can't run as expected with error msg Error: unhandled exception: unable to invoke specified member: CreateInstance (0x80131604) [CLRError] Run and the code is import sugar, win

can we write nim instead of c++?

2021-12-31 Thread barisx
That is why i need to wait and create new things for opensource. Our objectives are mostly highly optimized product for mobile applications. Nim can handle this but do not have wide used libraries. Even we can support our part of functions to faster and optimize. Thanks for all replies.

Advent of Nim 2021

2021-12-31 Thread bluequartz
Spent some time to write my solving process for days 18, 19 and 23 for this year. You'll find the links to the full Nim solution too! Day 18: Day 19: Day 23:

Nim interact with Windows .NET Frameworks

2021-12-31 Thread oyster
way to read enum? Yes, I know I can use the number directly, but what is the solution to use enum? Thanks `FileMode.cs` is simple namespace System.IO { [ComVisible(true)] [Serializable] public enum FileMode { CreateNew = 1, Create = 2,