Nim
Nim is a general-purpose systems programming language that's designed to be efficient, expressive, and elegant. The Nim compiler produces dependency-free binaries for most platforms as well as JavaScript for the web.
Here are 1,128 public repositories matching this topic...
Include doc comments
The Khronos reference page contains description of parameters and description of the behavior for every function. Wouldn't it be possible to add doc comments for the functions, so IDE can show it? I understand the function description is a bit cumbersome, as one description is usually related to multiple functions with similar functionality, however parameters description would help a lot.
I am c
nimble chokes on "example \"Nim to wasm\"":
but correctly accepts "example \"Nim to wasm\" ":
eg:
see https://github.com/2vg/nim-wasm-example at 8586a2d
# Package
version = "0.1.0"
author = "momf"
description = "example \"Nim to wasm\""
# description = "example \"Nim to wasm\" "
license = "MIT"
srcDir = "src"
bin = @["nim_wasm_The docs generated for #431 at https://mratsim.github.io/Arraymancer/pca.html have broken formatting:
I have written some simple examples in Nimx, but it is not clear to me what kind of pattern to follow to create custom components. By this I mean:
- either a customization of an existing component (say, buttons with a different style)
- or some kind of new component that possibly does its own layout but includes other components (for instance a box containing multiple buttons, only one of whic
-
Updated
Nov 14, 2019
Main page example:
<meta property="og:title" content="Nim forum">
<meta property="og:type" content="website">
<meta property="og:image" content="..."/>
<meta property="og:url" content="https://forum.nim-lang.org/">
<meta property="og:site_name" content="Nim forum">Thread example:
<meta property="og:title" content="Thread title">
<mDart-lang
Language request for Dart.
-
Updated
Jun 14, 2020 - Python
There are quite some settings tunable in rocksdb, see: https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide
Of which we are recently changing one, see: status-im/nim-eth#85
It would be good to benchmark and investigate the impact of some of these settings.
Something similar was done for Parity: openethereum/openethereum@e114b0b
Hi,
You are defining a Color object, but Nim already defines a Color type in its standard library:
color.nim
Wouldn't using that instead of redefining the type be possible ?
Plus it would make working with Colors easier as the nim implementation has more features and that would avoid managing different types for the same
add nimble install fragments to this part of the readme
As a beginner I wasted an hour trying to figure out what did I do wrong, turns out it was just a package error
Similar to python's help() function, that'd be so good!
>>> help echo
"Writes and flushes the parameters to the standard output.[...]"
I don't know if this is possible with nim, I've asked here:
https://stackoverflow.com/questions/61221599/nim-equivilant-to-pythons-help
I use official nim library https://github.com/nim-lang/sdl2/blob/master/src/sdl2/ttf.nim to create font textures.
In my config.nims I have
switch("passL", "-I/usr/include/SDL2")
switch("passL", "-L/usr/lib")
switch("passL", "-lSDL2")
switch("passL", "-lSDL2_image")
switch("passL", "-lSDL2_ttf")
switch("passL", "-lSDL2_mixer")and it works fine so far.
This is condensed
Update docs
In order to update https://bluenote10.github.io/NimData/nimdata.html I tried running build_docs.sh, but ran into the following Nim doc gen issues:
The following command is somewhat working, besides the missing dochack.js and with the `git.c
-
Updated
Jun 7, 2017 - Nim
Given this simple struct
struct GPU_Target
{
int w, h;
};The output is:
# Importing /Users/joey/Downloads/scratch/testover.h
# Generated at 2020-04-12T08:53:24-06:00
# Command line:
# /Users/joey/.nimble/pkgs/nimterop-#head/nimterop/toast --preprocess -f=ast2 --pnim --nim:/Users/joey/Nim/bin/nim /Users/joey/Downloads/scratch/testover.h
{.hint[ConvFromXto-
Updated
Jun 6, 2020 - JavaScript
-
Updated
Jun 18, 2020 - Nim
Created by Andreas Rumpf
Released 2008
- Repository
- nim-lang/Nim
- Website
- nim-lang.org
- Wikipedia
- Wikipedia



sizeofdoesn't work for types that store Atomics. This would be useful to size the memory buffer for thread-safe memory allocators with what is left from the synchronization primitives.