Inline function (original) (raw)

About DBpedia

Se conocen como funciones inline a las funciones que, al compilar, no son llamadas en el código objeto, sino insertadas en la sección del código donde se las llame.

Property Value
dbo:abstract Se conocen como funciones inline a las funciones que, al compilar, no son llamadas en el código objeto, sino insertadas en la sección del código donde se las llame. (es) In the C and C++ programming languages, an inline function is one qualified with the keyword inline; this serves two purposes: 1. * It serves as a compiler directive that suggests (but does not require) that the compiler substitute the body of the function inline by performing inline expansion, i.e. by inserting the function code at the address of each function call, thereby saving the overhead of a function call. In this respect it is analogous to the register storage class specifier, which similarly provides an optimization hint. 2. * The second purpose of inline is to change linkage behavior; the details of this are complicated. This is necessary due to the C/C++ separate compilation + linkage model, specifically because the definition (body) of the function must be duplicated in all translation units where it is used, to allow inlining during compiling, which, if the function has external linkage, causes a collision during linking (it violates uniqueness of external symbols). C and C++ (and dialects such as GNU C and Visual C++) resolve this in different ways. (en) 인라인 함수(inline function)는 여러 버전의 C와 C++ 프로그래밍 언어에서 컴파일러가 인라인 확장 수행을 요청 받는 함수이다. 다시 말해, 프로그래머는 함수를 호출하는 코드를 함수가 정의된 곳에다 생성하지 않고 컴파일러가 완전한 함수체를 함수가 호출되는 모든 장소에 삽입할 것을 요청할 수 있다. (ko) インライン関数(英: inline function)とは、プログラミング言語の言語機能および構文の一種で、コンパイラに対して特定の関数をインライン展開するよう指示するものである。つまり、コンパイラに対して、その関数を呼び出している全ての箇所に関数の実体を挿入するよう指示する。 (ja) Inline (w programowaniu) – słowo identyfikujące deklarację tak zwanej funkcji otwartej, podprogramu wewnętrznego lub podprogramu. Autorzy języków programowania stosują tę konstrukcję w dwojakim znaczeniu: 1. * modyfikatora w deklaracji funkcji lub metody (np. w C++, Object Pascal), 2. * dyrektywy języka (np. Turbo Pascal). (pl) 在電腦科學中,內聯函數(有時稱作在線函數或編譯時期展開函數)是一種編程語言結構,用來建議編譯器對一些特殊函數進行(有時稱作在線擴展);也就是說建議編譯器將指定的函數體插入並取代每一處調用該函數的地方(上下文),從而節省了每次調用函數帶來的額外時間開支。但在選擇使用內聯函數時,必須在程序佔用空間和程序之間進行權衡,因為過多的比較複雜的函數進行內聯擴展將帶來很大的存儲資源開支。另外還需要特别注意的是對遞歸函數的內聯擴展可能引起部分編譯器的無窮編譯。 (zh)
dbo:wikiPageExternalLink https://lists.llvm.org/pipermail/llvm-dev/2021-August/152031.html https://en.cppreference.com/w/cpp/language/inline)%7Cdate=April https://books.google.com/books%3Fid=-yhuY0Wg_QcC&pg=PA181%7Cyear=2002%7Cpublisher=Jones https://books.google.com/books%3Fid=1F6ipojt7DcC&pg=PA79%7Cyear=2006%7Cpublisher=New https://books.google.com/books%3Fid=DnsM0WD-6iMC&pg=PA131%7Cdate=1 https://books.google.com/books%3Fid=Miq73i_J1i4C&pg=PA36%7Cyear=2003%7Cpublisher=Cengage https://books.google.com/books%3Fid=NXVkcCjPblcC&pg=PA18%7Cdate=1 https://books.google.com/books%3Fid=WCHZAgAAQBAJ&pg=PA74%7Cyear=2013%7Cpublisher=Tata https://books.google.com/books%3Fid=ZLzt5WtsdzIC&pg=PA50%7Cdate=1 https://books.google.com/books%3Fid=fgGLZ7WYxCMC&pg=PA97%7Cyear=1992%7Cpublisher=Silicon https://books.google.com/books%3Fid=fxUVrhjD4k0C&pg=PA78%7Cdate=8 https://gcc.gnu.org/onlinedocs/gcc/Inline.html
dbo:wikiPageID 428330 (xsd:integer)
dbo:wikiPageLength 24171 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID 1115457340 (xsd:integer)
dbo:wikiPageWikiLink dbc:Software_optimization dbr:Inline_expansion dbr:Compiler dbr:GNU_Compiler_Collection dbr:Unreachable_code dbr:Embedded_software dbr:Keyword_(computer_programming) dbr:Principle_of_least_astonishment dbr:Translation_unit_(programming) dbr:C++ dbr:C99 dbr:C_(programming_language) dbr:Linkage_(software) dbr:Exception_handling dbr:LLVM dbr:Recursion_(computer_science) dbr:Macro_(computer_science) dbr:Virtual_function dbr:Nested_function dbr:K&R_C dbr:Programming_language dbr:Static_library dbr:Variadic_function dbr:Storage_class_specifier dbr:Variable_argument_list dbr:C89_(C_version) dbr:GNU_C dbr:Visual_C_Plus_Plus dbr:Inline_assembly dbr:Compiler_directive
dbp:wikiPageUsesTemplate dbt:About dbt:Cite_book dbt:Refbegin dbt:Refend dbt:Reflist dbt:Section_link dbt:See_also dbt:Short_description dbt:Update
dcterms:subject dbc:Software_optimization
rdf:type owl:Thing yago:Abstraction100002137 yago:Cognition100023271 yago:Concept105835747 yago:Content105809192 yago:Idea105833840 yago:PsychologicalFeature100023100 yago:WikicatProgrammingConstructs
rdfs:comment Se conocen como funciones inline a las funciones que, al compilar, no son llamadas en el código objeto, sino insertadas en la sección del código donde se las llame. (es) 인라인 함수(inline function)는 여러 버전의 C와 C++ 프로그래밍 언어에서 컴파일러가 인라인 확장 수행을 요청 받는 함수이다. 다시 말해, 프로그래머는 함수를 호출하는 코드를 함수가 정의된 곳에다 생성하지 않고 컴파일러가 완전한 함수체를 함수가 호출되는 모든 장소에 삽입할 것을 요청할 수 있다. (ko) インライン関数(英: inline function)とは、プログラミング言語の言語機能および構文の一種で、コンパイラに対して特定の関数をインライン展開するよう指示するものである。つまり、コンパイラに対して、その関数を呼び出している全ての箇所に関数の実体を挿入するよう指示する。 (ja) Inline (w programowaniu) – słowo identyfikujące deklarację tak zwanej funkcji otwartej, podprogramu wewnętrznego lub podprogramu. Autorzy języków programowania stosują tę konstrukcję w dwojakim znaczeniu: 1. * modyfikatora w deklaracji funkcji lub metody (np. w C++, Object Pascal), 2. * dyrektywy języka (np. Turbo Pascal). (pl) 在電腦科學中,內聯函數(有時稱作在線函數或編譯時期展開函數)是一種編程語言結構,用來建議編譯器對一些特殊函數進行(有時稱作在線擴展);也就是說建議編譯器將指定的函數體插入並取代每一處調用該函數的地方(上下文),從而節省了每次調用函數帶來的額外時間開支。但在選擇使用內聯函數時,必須在程序佔用空間和程序之間進行權衡,因為過多的比較複雜的函數進行內聯擴展將帶來很大的存儲資源開支。另外還需要特别注意的是對遞歸函數的內聯擴展可能引起部分編譯器的無窮編譯。 (zh) In the C and C++ programming languages, an inline function is one qualified with the keyword inline; this serves two purposes: 1. * It serves as a compiler directive that suggests (but does not require) that the compiler substitute the body of the function inline by performing inline expansion, i.e. by inserting the function code at the address of each function call, thereby saving the overhead of a function call. In this respect it is analogous to the register storage class specifier, which similarly provides an optimization hint. 2. * The second purpose of inline is to change linkage behavior; the details of this are complicated. This is necessary due to the C/C++ separate compilation + linkage model, specifically because the definition (body) of the function must be duplicated in al (en)
rdfs:label Función inline (es) Inline function (en) 인라인 함수 (ko) インライン関数 (ja) Inline (programowanie) (pl) 内联函数 (zh)
rdfs:seeAlso dbr:Inline_expansion
owl:sameAs freebase:Inline function yago-res:Inline function wikidata:Inline function dbpedia-es:Inline function dbpedia-fy:Inline function dbpedia-ja:Inline function dbpedia-ko:Inline function dbpedia-pl:Inline function dbpedia-vi:Inline function dbpedia-zh:Inline function https://global.dbpedia.org/id/FEJc
prov:wasDerivedFrom wikipedia-en:Inline_function?oldid=1115457340&ns=0
foaf:isPrimaryTopicOf wikipedia-en:Inline_function
is dbo:wikiPageDisambiguates of dbr:Inline
is dbo:wikiPageRedirects of dbr:In-line_function dbr:Inline_keyword dbr:Inline_routine
is dbo:wikiPageWikiLink of dbr:Program_optimization dbr:Mutator_method dbr:Boost_(C++_libraries) dbr:Dead_code dbr:Inline_expansion dbr:Inline dbr:Compatibility_of_C_and_C++ dbr:Generic_programming dbr:One_Definition_Rule dbr:GNU_Debugger dbr:Dalvik_(software) dbr:Parallax_Propeller dbr:C99 dbr:C_(programming_language) dbr:Header-only dbr:Ada_(programming_language) dbr:Intrinsic_function dbr:ANSI_C dbr:Ziggurat_algorithm dbr:C++17 dbr:C_standard_library dbr:Pin_(computer_program) dbr:Field_encapsulation dbr:Self-modifying_code dbr:Macro_(computer_science) dbr:Single_compilation_unit dbr:TinyLinux dbr:In-line_function dbr:Inline_keyword dbr:Inline_routine
is foaf:primaryTopic of wikipedia-en:Inline_function