Kismat Ki Baazi
Kismat Ki Baazi is a 1980 Hindi-language Indian feature film directed by Bhappi Sonie, starring Sharmila Tagore, Mithun Chakraborty and Reena Roy in lead roles.[1]
Kismat Ki Baazi | |
---|---|
![]() Promotional Poster | |
Directed by | Bhappi Sonie |
Produced by | Junior Mehmood |
Starring | Sharmila Tagore Mithun Chakraborty Reena Roy Prem Chopra Jagdeep |
Music by | R. D. Burman |
Release date | 1980 |
Language | Hindi |
Cast
gollark: It's a good compiler!
gollark: <@!341618941317349376> Observe, a compiler which produces slow code.
gollark: Now with optimization settings!
gollark: ```python#!/usr/bin/env python3import argparseimport subprocessparser = argparse.ArgumentParser(description='Compile a WHY program')parser.add_argument("input", help="File containing WHY source code")parser.add_argument("-o", "--output", help="Filename of the output executable to make", default="./a.why")parser.add_argument("-O", "--optimize", help="Optimization level", type=int, default="0")args = parser.parse_args()def build_C(args): template = """#define QUITELONG long long intconst QUITELONG max = @max@;int main() { QUITELONG i = 0; while (i < max) { i++; } @code@} """ for k, v in args.items(): template = template.replace(f"@{k}@", str(v)) return templateinput = args.inputoutput = args.outputtemp = "ignore-this-please"with open(input, "r") as f: contents = f.read() looplen = max(1000, (2 ** -args.optimize) * 1000000000) code = build_C({ "code": contents, "max": looplen }) with open(temp, "w") as out: out.write(code)subprocess.run(["gcc", "-x", "c", "-o", output, temp])```
gollark: ^
References
- "Kismat Ki Baazi LP Records". ebay. Retrieved 19 June 2014.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.