디시인사이드 갤러리

갤러리 이슈박스, 최근방문 갤러리

갤러리 본문 영역

ts=》js도 컴파일이 맞네 ㅇㅅㅇ앱에서 작성

강유현갤로그로 이동합니다. 2025.05.25 07:39:19
조회 103 추천 0 댓글 4

Strictly speaking, "compiled" and "interpreted" are not properties of a language. A language, be it a programming language or a natural language, is just a way of communicating as defined by some structure: it's grammar.

The language can be processed however you like. It's kind of like asking "is English a heard/read/seen language?". It's all 3: English can be spoken, written or lip-read.

First, let's get our definitions straight.

compiler is a "program that translates computer code written in one programming language (the source language) into another language (the target language)". wiki Note that there is no constraint on the output being any specific language, e.g. assembIy or machine code.

An interpreter is a "program that directly executes instructions written in a programming or ing language, without requiring them previously to have been compiled" wiki

In practice, most programming languages have certain sets of tooling which mean that they are either compiled or interpreted. C is usually compiled with a tool such as GCC, which will produce machine code. is usually interpreted by the browser.

However, this doesn't have to be the case. You could write an interpreter for C and people already have. You could write a compiler for to machine code, though I can't find one if such a thing exists.

This is where the terms "compiled language" and "interpreted language" come from. They are a useful conversation shorthand but they are imprecise. If your friend tells you they're learning FooBarLang, asking "is that a compiled language?" is much easier than asking "is that a language for which the existing, popular tooling involves compilation?"

Type is a "compiled language". Right now in 2021, at least, that's how almost everyone in the world is using it. The compiler takes Type code, removes the type information, and generates code. The fact that the target of this compilation is itself a "source language" makes this a special case of compilation: source-to-source compilation. This is often called 'transpilation' because it is translating from one source language to another. Make no mistake, transpilation is a form of compilation, as per our earlier definition.

Now, that's not to say that one day someone might write a Type interpreter. Maybe browsers will decide that there are benefits to processing Type directly in the browser. It would simplify the build process and give the browser access to type information that is usually thrown away which it might be able to make use of.

​내 대가리가 돌돌이였던듯 ㅇㅅㅇ
​지식이 늘었다

- dc official App

추천 비추천

0

고정닉 0

0

댓글 영역

전체 댓글 0
본문 보기

하단 갤러리 리스트 영역

왼쪽 컨텐츠 영역

갤러리 리스트 영역

갤러리 리스트
번호 제목 글쓴이 작성일 조회 추천
설문 운이 좋아서 따라다니면 콩고물이라도 떨어질 것 같은 스타는? 운영자 25/06/16 - -
2858919 노인은 못배워도 용납 되어야한다 <- 병신 마인드 [5] 프갤러(218.154) 05.28 64 0
2858918 아무튼 전문가 집단인 학계결론이 그렇지만 [1] RyuDOG갤로그로 이동합니다. 05.28 60 1
2858916 바이트 비트 따질시간에 좆바나하자 ㅇㅅㅇ [10] 강유현갤로그로 이동합니다. 05.28 97 0
2858914 데이터는 거짓말하지 않는다. [1] 프갤러(218.154) 05.28 49 1
2858913 애초에 계급배반투표라는 말이 나오는거 자체가 RyuDOG갤로그로 이동합니다. 05.28 42 1
2858912 글고 조현병 러슬람아 RyuDOG갤로그로 이동합니다. 05.28 56 1
2858910 이젠 불리안 기본이 8비트라고 망상하노 [5] ㅇㅇ(211.234) 05.28 110 3
2858909 저학력 거지 일베한테 반응이라도 해주는게 인터넷 공간이라 프갤러(218.154) 05.28 40 1
2858908 나님은 관심있는 학문은 거의다 쉽게쉽게 공부해서 [5] RyuDOG갤로그로 이동합니다. 05.28 70 1
2858907 내가 궁금한게 류독은 왜 이 갤 들어오는걸까? 프로그래밍 얘기도 안하는데 [2] ㅆㅇㅆ(124.216) 05.28 71 0
2858906 부자를 빨아주면 자기도 그 집단에 속할 거라는 착각 프갤러(218.154) 05.28 37 0
2858904 말투보니까 조현병 찢갈이는 ㅆㅇㅆ보다는 RyuDOG갤로그로 이동합니다. 05.28 59 4
2858903 이준석이 자폭한게 맞아? 아닌거 같은데 프갤러(218.154) 05.28 54 0
2858902 한국 정치 유일 진리 팩트는 이거라는거 [4] 프갤러(218.154) 05.28 70 0
2858901 진짜 지능장애나 조현병(사실 구분 안됨) 환자가 RyuDOG갤로그로 이동합니다. 05.28 55 1
2858900 나도 프로그래밍 빡고수 되고 싶다 ㅆㅇㅆ(124.216) 05.28 53 0
2858899 근데 얼마나 애들이 홍어짓을 해댔으면 [1] 류도그담당(211.235) 05.28 78 0
2858898 중증 조현병 걸리면 특정 영역에서 지능 장애가 나타남 RyuDOG갤로그로 이동합니다. 05.28 57 1
2858897 조현병 걸린 새끼들이 찢빠는 것도 팩트임 RyuDOG갤로그로 이동합니다. 05.28 65 1
2858896 ㅆㅇㅆ야 처발리니까 찢갈이 아이피로 와서 준빠로 몰아가는데 [2] RyuDOG갤로그로 이동합니다. 05.28 65 4
2858895 일단 RAG 워크플로는 인덱싱->검색->생성이잖아 [7] ㅆㅇㅆ(124.216) 05.28 97 0
2858894 인력부족이라는 말은 이런 의미에 가까움 ㅇㅇ갤로그로 이동합니다. 05.28 42 0
2858893 류독 지금 발광하는 이유 별거없다 프갤러(175.208) 05.28 42 0
2858892 근데 내가 틀릴 수도 있음 [3] RyuDOG갤로그로 이동합니다. 05.28 63 2
2858891 상위 1.6% 능력있는 개발자 없다고 개발자 인력 부족 ㅇㅈㄹ ㅋㅋㅋㅋ [1] ㅇㅇ(117.111) 05.28 733 0
2858890 비공개 릴레이 아이피 고정 아닌거 알지? 프갤러(140.248) 05.28 64 0
2858889 허구한날 vpn 돌려쓰면서 주작질 RyuDOG갤로그로 이동합니다. 05.28 52 3
2858888 이번의뢰 100만 좀 넘게 받고 싶은데 [2] ㅆㅇㅆ(124.216) 05.28 73 0
2858887 ㅆㅇㅆ 다중이질하다가 아이피 바뀐거봐 RyuDOG갤로그로 이동합니다. 05.28 61 4
2858886 상식적으로 납득 가능한 수준에서 처놀아야 이해가가지 RyuDOG갤로그로 이동합니다. 05.28 41 0
2858885 이준석 심하게 자폭하니 류독 발작함 ㅇㅇ(175.208) 05.28 49 0
2858884 Ai 환각때문에 질문못하는 컨셉은 좀 웃기네 RyuDOG갤로그로 이동합니다. 05.28 65 2
2858883 C#이니까 적당하네 [1] ㅇㅇ갤로그로 이동합니다. 05.28 67 0
2858882 ㅋㅋㅋ싸우는거 보는데 웃기노 [1] 류도그담당(211.235) 05.28 77 0
2858881 ㅆㅇㅆ 이 장애인은 왜 왜 주기적으로 혐오감 드는 행동을하지 RyuDOG갤로그로 이동합니다. 05.28 49 3
2858879 근데 진짜 프갤에서 주작질하면 뭐 잘되는거 있냐? [1] RyuDOG갤로그로 이동합니다. 05.28 61 2
2858878 트러블코더<<근데 이 형님 파이썬 개좆빡고수같은데 [2] ㅆㅇㅆ(124.216) 05.28 77 0
2858877 ㅆㅇㅆ 화짱조 좆병신새끼야 RyuDOG갤로그로 이동합니다. 05.28 57 1
2858876 프갤에서 나정도면 젠틀하지 질문 했다고 꼽도 안줘 [2] ㅆㅇㅆ(124.216) 05.28 63 0
2858875 유동아 류독은 무시해라. 저 새끼 조현병임 [5] ㅆㅇㅆ찡갤로그로 이동합니다. 05.28 81 3
2858874 지 키배뜬 얘기 유동으로 제3자인척 긁어온건거 [24] RyuDOG갤로그로 이동합니다. 05.28 106 3
2858873 불리언이 1bit라는 건 현대 프로그래밍에서 도태된건 아니고 [10] ㅆㅇㅆ(124.216) 05.28 173 0
2858872 좆바충 콱 씨발 패버리고싶으면 개추 ㅇㅅㅇ [4] 강유현갤로그로 이동합니다. 05.28 66 0
2858871 boolean이 1bit라는건 현대컴퓨터론에서 도태된게 무슨말인가요? [8] 프갤러(172.225) 05.28 87 0
2858870 오 기업 의뢰 왔다 [9] ㅆㅇㅆ(124.216) 05.28 88 0
2858868 아직도 닷넷 프레임워크를 쓰는곳이 많군 ㅇㅅㅇ [6] 강유현갤로그로 이동합니다. 05.28 104 0
2858865 중국인이 올린 레드팀 문서보는데 [5] 류도그담당(211.235) 05.28 89 0
2858864 나같은 이도저도 아닌놈들은 MVP할때나 강점있는듯 [5] ㅆㅇㅆ(124.216) 05.28 83 0
2858863 이준석씨 어제 토론 중 보지얘기할때 표정 재밋지않나요? [3] 헬마스터갤로그로 이동합니다. 05.28 74 0
2858861 fmkorea계정이 탈퇴당해있습니다 [4] 헬마스터갤로그로 이동합니다. 05.28 57 0
뉴스 “4일에 5000만원”…男연예인, VIP 스폰서 제안 폭로 디시트렌드 06.16
갤러리 내부 검색
제목+내용게시물 정렬 옵션

오른쪽 컨텐츠 영역

실시간 베스트

1/8

뉴스

디시미디어

디시이슈

1/2