Skip to content
#

Compiler

Compilers are software that translate higher-level (more human readable) programming languages to lower-level languages (e.g. machine code). The processor executes machine code, which indicates when binary high and low signals are required in the arithmetic logic unit of the processor. Examples of compiled languages include BASIC, Fortran, C++, C, and Java.

Here are 4,532 public repositories matching this topic...

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

  • Updated Jul 17, 2020
  • JavaScript
next.js
jonaskuske
jonaskuske commented Apr 1, 2020

Bug report

Describe the bug

When running next using Yarn 2 and visiting a page in the browser that doesn't exist, the 404 error page never shows up. Instead it loads forever ("waiting on localhost...") and then eventually errors with ERR_EMPTY_RESPONSE.

But the terminal shows that the page was compiled:

[ event ] build page: /next/dist/pages/_error
[ wait ]  compiling ...
svelte
Nim
mratsim
mratsim commented Nov 24, 2019

sizeof doesn'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.

import std/atomics

type
  Node = ptr object
    # works
    next: Atomic[pointer]

  MyChannel = object
    # type not defined completely
    back: Atomic[ptr int]

static:
  echo sizeof(N
pjebs
pjebs commented Oct 15, 2018

The documentation for reflect.DeepEqual makes no mention of panic'ing: https://golang.org/pkg/reflect/#DeepEqual

In this example it panics:

println(fmt.Sprintf("fieldVal %T %v", fieldVal, fieldVal))
println(fmt.Sprintf("Zero %T %v", reflect.Zero(reflect.TypeOf(fieldVal)).Interface(), reflect.Zero(reflect.TypeOf(fieldVal)).Interface()))
reflect.DeepEqual(fieldVal, reflect.Zero(reflect.T
You can’t perform that action at this time.