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 3,614 public repositories matching this topic...

KyleAMathews
KyleAMathews commented Aug 29, 2019

Many people on constrained data plans turn on data saving — their smartphone browsers then send a "Save-Data" header to servers.

We can use this in the client as well to choose lower-data rendering options for these people.

For gatsby-image, we can render regular resolution images for these people instead of retina.

if ("connection" in navigator) {
    if (navigator.connection.sav
devongovett
devongovett commented Aug 12, 2019

Create the @parcel/transformer-markdown package in packages/transforms/markdown. This package is a Parcel 2 transform plugin for markdown. It should be based on the MarkdownAsset from Parcel 1.

The @parcel/transformer-markdown package is responsible for the following things:

  • Compiling markdown to HTML using marked
svelte
Pjaerr
Pjaerr commented Aug 31, 2019

Maybe I am wrong but it seems like the documentation for bind:this should come before the documentation for bind:property (just flip them around) as the bind:property documentation says: "You can bind to component props using the same mechanism." despite the documentation before it being on:eventname.

I also may just be viewing this incorrectly 😄

https://svelte.dev/docs#bind_component

gillez
gillez commented Jun 6, 2017

Hi,

I get the following warning when compiling my code:

 Warning Cannot resolve 'config.getServerMode() ? '../libserver/server_code.js' : '../liblocal/local_code.js''
  Use a string literal as argument for 'require', or leave it
  as is and specify the resolved file name in 'scripts' option.

I understand the reason for this and what I need to do. As it says in the manual: ```

Nim
mp035
mp035 commented Sep 11, 2019

When using basic operators (+,-,*,div) on integers of different lengths (eg uint16 and uint32), implicit conversion only works when the longest type is first. It is expected that the order of operands on these operators should not affect the operation.

Example

var a:uint16 = 1
var b:uint32 = 2

echo(b+a) # works
echo(b-a) # works
echo(b*a) # works
echo(b div a) #works
studoot
studoot commented Jul 10, 2019

Is your feature request related to a problem? Please describe.
Catch2 is advertised as a 'header-only' library - which leads one to expect it to be usable within executable code on Compiler Explorer, using the 'a.out' option.

However, Compiler Explorer incorporates Catch2 using its include directory, which contains all the component header/source fil

jriehl
jriehl commented Jul 13, 2019

Feature request

Implement numpy.flip() in arrayobj.py. This is a bit more difficult than just adding the Numpy Python code since it needs to work across n-dimensional arrays. I would considering using np.nditer or similar to acquire this functionality. Here is 1-d case from the sprint at SciPy2019:

def flip_ud(input_array):
  '''
  Quick implementaiton of flip_ud from
ballercat
ballercat commented Oct 14, 2018

Problem

walt-cli package when linking multiple .walt files together can "wrap" the modules in a stand-alone JS module. The resulting module is too large because it serialized the dependency tree with the AST information encoded directly into the output, resulting in a massive amount of js.

Encoding the dependencies into the file is done to ensure the module can be used stand-alone in br

Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single 1MB file!

  • Updated Sep 24, 2019
  • 10 commits
  • 46 contributors
  • Red
andrewrk
andrewrk commented Sep 20, 2019

Basic points:

  • inline actually puts limitations what the compiler/optimizer is allowed to do. It's often incorrect intent. If your intent is to improve performance, making a function inline is communicating something only tangentially related, and in some cases can actually harm performance.
  • The optimizer usually has more information than you do about the time/space tradeoff
  • `inli

Learn about compiler

Wikipedia
Wikipedia

Related topics

See more topics
fortran gcc interpreter
You can’t perform that action at this time.