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 6,586 public repositories matching this topic...
-
Updated
Feb 7, 2022 - JavaScript
Describe the bug
In Chrome, using bind:offsetHeight on a component that immediately changes size does not trigger a change in the offsetHeight variable:
This does not seem to happen in Firefox or Safari, but it does happen in Chrome.
To Reproduce
https://codesandbox.io/s/u
Preliminary Checks
- This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues
- This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Summary
I am working with Gatsby v4's new
[Bug]: Typescript plugin fails on named tuple positions where the name is a reserved word in JS
💻
- Would you like to work on a fix?
How are you using Babel?
babel-loader (webpack)
Input code
type FuncWithDescription = [
function: (...args: any[]) => any,
string: string
]
-
Updated
Feb 6, 2022 - Kotlin
-
Updated
Feb 4, 2022 - JavaScript
-
Updated
Feb 6, 2022 - Go
Marked version:
3.x.x
Describe the bug
A clear and concise description of what the bug is.
Right now, import {use} from "markedjs" does not work, this worked in 2.x.x.
To Reproduce
Steps to reproduce the behavior:
Install & import it.
The DefinitelyTyped definitions also mark this incorrectly as being supported still.
A workaround is importing one of the structur
-
Updated
Feb 6, 2022 - V
-
Updated
Feb 7, 2022 - Rust
-
Updated
Jan 30, 2022 - C++
It is awkward, but TypeScript officially supports using .js in import specifiers, like so:
import {foo} from './path/to/some/file.js'
console.log(foo)where ./path/to/some/file.js does not actually exist, but th
-
Updated
Feb 3, 2022 - Java
On Windows, when stack size limit is exceeded, the program ends with "Error: execution of an external program failed" with no details provided. For noobies like me, it might be helpful if the compiler gives some indication of why that is.
The simplest would be to create a warning when a single large array is defined in the code.
More advanced solution would take the combined the sizes of diffe
-
Updated
Jan 4, 2022 - Go
Describe the bug
See example here
When the flag -flto is given to add link-time optimization, it seems that (at least for g++ and clang++; I have not tested others), the output of the assembly changes to something which is not legible.
Steps to reproduce
- Visit godbolt.org
- Create some C++ script
- Add a compiler window.
- When compilin
-
Updated
Jan 26, 2022 - Go
-
Updated
Feb 7, 2022 - Python
I see comments suggesting adding this to understand how loops are being handled by numba, and in the their own FAQ (https://numba.pydata.org/numba-doc/latest/user/faq.html)
from llvmlite import binding as llvm
llvm.set_option('','--debug-only=loop-vectorize')
You would then create your njit function and run it, and I believe the idea is that it prints debug information about whether
-
Updated
Sep 28, 2021
-
Updated
Feb 6, 2022 - Python
Describe the feature you'd like to request
There is no example on how to create a serivce-worker.ts, that gets compiled at specified output (example public/service-worker.js)
We want to have this option and service worker for the app
Describe the solution you'd like
One official example, probably with some typescript config on how to achieve this.
Or even better a way for nextjs to